Ubuntu cheat sheet

I am currently using Ubuntu 19.04 with the default terminal.

See your Ubuntu version

lsb_release -a

Update your apt dependencies

sudo apt update
sudo apt upgrade

Reboot

// just reboot
sudo reboot

Managing files & folders

Navigate to a folder

cd foldername

Create a folder

mkdir foldername

Move files & folders

mv file folder

Delete folder and files/folders in that folder

rm -rfv foldername

See how much disk space you have left

df -h

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.