Here’s a list of several terminal commands that are perhaps unfamiliar to many new-to-Linux users but could be really handy when used properly.
Kill a running application by its name
killall [app_name]
Display disk space usage:
df –h
Locate the installation directories of a program:
whereis [app]
Mount an .iso file:
mount /path/to/file.iso /mnt/cdrom –oloop
Record or capture a video of your desktop:
ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg
Find out the Universally Unique Identifier (UUID) of your partitions:
ls /dev/disk/by-uuid/ -alh
Show the top ten running processes (sorted by memory usage):
ps aux | sort -nrk 4 | head
Make an audible alarm when an IP address goes online:
ping -i 60 -a IP_address
Run the last command as root:
sudo !!
Make a whole directory tree with one command:
mkdir -p tmp/a/b/c









