-
show and sort the disk usage
du -sh * | sort -rn
-
Create an user with www-data as group
useradd -mg www-data $USER
-
Add user to sudo
usermod -aG sudo $USER
Useful shell script snippets
some useful shell script commands
An coding monkey who reject all your request
some useful shell script commands
show and sort the disk usage
du -sh * | sort -rn
Create an user with www-data as group
useradd -mg www-data $USER
Add user to sudo
usermod -aG sudo $USER