Note: Most commands in Linux are case-sensitive.
Execute command but pause after each screenful of output
command |more
command |less
Launch command in the background
(useful for GUI programs such as gedit)
command &
Alternative way of running programs in the background
Press CTRL-Z after running command and then type
bg
Launch an easy-to-use text-based file editor
nano filename
[If you know how to use Vi or Emacs, why are you reading this page?]
Display the contents of filename
cat filename
Display the last ten lines of filename
tail filename
Reset the current terminal
(useful if you cat a binary file by mistake and the terminal gets scambled)
reset
List all files in the current directory, sorting by date
ls -lrt
List all files in the current directory, sorting by size
ls -lrS
Search the current directory and all subdirectories for filename
find . -name filename
See the free space remaining on all mounted partitions
df -h
To see the size of directories
du -sh *