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://dict.org/d:hello # see word lookup in Dictionary
curl dict://dict.org/show:db #show dtabase
curl dict://dict.org/d:hello:foldoc # foldoc is database name

Banner

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

Moving Locomotive runs on screen

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