funny-linux-commands

Well we do lot of geeky stuffs via Terminal but for a change lets have some fun in our own way.Here is a list of commands which is not mostly know and seems funny but some of these commands will be occasionally useful also.

$ whereis package_name

if want to find some packages where you installed use this command,for example to find location of ‘python’

$ whereis python

python: /usr/bin/python2.6 /usr/bin/python /etc/python2.6 /etc/python /usr/lib/python2.6 /usr/lib/python3.1 /usr/local/lib/python2.6 /usr/include/python2.6 /usr/share/python /usr/share/man/man1/python.1.gz

Below command prints the username of the current user

$ whoami

vividvilla

Now install the package called cowsay using following Command

$ sudo apt-get install cowsay

after you install the package type as follows

$ cowsay 'Hi I am a Geek'

$ apt-get moo

the result will be like below

funny-linux-commands

Now finally execute below command in your Terminal

$ while (true) do echo -n "90210876045";done

Thats it…see the magic in your Terminal.

Similar Posts