zip -r file.zip /folder -> zip a folder recursively
unzip file.zip -> unzip a a zip file
du -hs /folder -> determine a folder’s size -h human readable -s summary
chown owner:group tmpfile -> Change both owner and the group of a file
Add a cronjob that runs ever five minutes PATH=/usr/sbin:/usr/bin:/sbin:/bin */5 * * * * service mysql start
Create a user account useradd username
Change password of a user passwd username
Rename a folder mv /home/user/oldname /home/user/newname
Install updates sudo apt-get update # Fetches the list of available updates
sudo apt-get upgrade # Strictly upgrades the current packages
sudo apt-get dist-upgrade # Installs updates (new ones)