Fun With Linux

Play with Image

Convert image to gray:

convert mmahmoodict.jpg -colorspace Gray mmahmoodictNew.jpg

Convert image type:

convert mmahmoodict.jpg mmahmoodictNew.gif

Eject Command

eject /dev/cdrom # eject cd-rom

Take snapshot Command

scrot -q 90 ~/Desktop/'%Y-%m-%d--%s_$wx$h.png'

Lookup in Dictionary

curl dict:// # see word lookup in Dictionary
curl dict:// #show dtabase
curl dict:// # foldoc is database name


sudo apt-get install sysvbanner
banner nishi
banner nishi | tr '#' '@' # replace # with @

Moving Locomotive runs on screen

apt-get install sl
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License