Ubuntu - Page 6

Reload Bash Profile

Without restarting terminal

Ubuntu Reboot by Command Line

sudo reboot

Find All Directory or File (Recursively) Only And Execute Command (Chmod)
Zip Or Compress Directory On Linux

tar -czvf [FILENAME].tar.gz [DIRECTORY]

Bash Redirect Output To File (stdout and stderr)

command > output.log 2>&1

Install Ubuntu Updates (command line)

sudo apt-get update && sudo apt-get upgrade

Show Linux Directory Structure As Ascii Text
Check Ubuntu Version

lsb_release -a

How To Remove Old Linux Kernel Images (Ubuntu)

Don't delete them using 'rm'.

How To Check Directory Size On Linux

Find out which directory occupy the most disk space, usually for cleanup purpose.