Skip to content
Archive of entries posted on 4th November 2009

Using nullglob and dotglob in bash scripts.

Use BASH nullglob To Verify *.c Files Exists or Not In a Directory has a nice explanation on nullglob and dotglob. Technorati Tags: bash, glob, scripts

Photo Resizing

for i in * do mogrify $i -resize 640×480 i done Technorati Tags: Linux, Photo

Get your external IP address

$ echo -e \”GET /automation/n09230945.asp HTTP/1.0rnHost: whatismyip.comrn\” | nc whatismyip.com 80 | tail -n1 View this command to comment, vote or add to favourites View all commands by Marko by David Winterbottom (codeinthehole.com) URL: http://feedproxy.google.com/~r/Command-line-fu/~3/7xln2n56mnk/get-your-external-ip-address Related articles by Zemanta How to Find Out Your Computer\’s IP (computer-realm.net) Sphere: Related Content Technorati Tags: geoip, IP Address, [...]