tEcHrAjEsH's sPaCe

my life within and outside computers…

12 Useful but almost Unknown Linux commands

This post is especially targetted for new Linux users focussing on some of the most useful Linux commands which can come handy in different situations. So the list goes something like this:

$ df -h   #Displays the hard disk space usage

$ killall [app_name] #Kills a running application by its name

$ whereis [app_name] #Displays the installation directory of any application

$ sudo !! #Runs the last entered command as root

$ ping -i 60 -a [ip address] #Makes an alarm when an ip address goes online

$ mount /path/to/file.iso /mnt/cdrom -o loop #Mounts an iso file into cdrom

$ free -m #Displays free and used RAM

$ whoami #Displays current user

$ uname -a #Displays computer name and OS information including the kernel version

$ ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq /tmp/out.mpg #Records your desktop

$ ls /dev/disk/by-uuid/ -alh #Finds Universal Unique Identifier (UUID) of your partitions

$ history #Displays a list of previously typed commands

June 16, 2009 - Posted by techrajesh | linux | , , | 4 Comments

4 Comments »

  1. ping wala chai ramailo jasto cha….ok i’ll try it..

    Comment by Samrakchan | June 16, 2009 | Reply

  2. [...] CLICK HERE [...]

    Pingback by Interesting Website Links » 12 Useful but almost Unknown Linux commands | June 16, 2009 | Reply

  3. you missed “sudo rm -rf *”

    Comment by GNU/Milanix | June 27, 2009 | Reply

  4. that will follow in my next post (10 most dangerous linux commands) :P

    Comment by techrajesh | June 27, 2009 | Reply


Leave a comment