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…

Continue Reading →

Photo Resizing

for i in * do mogrify $i -resize 640×480 i done Link to this post!

Continue Reading →

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…

Continue Reading →