Monday, January 5, 2009

GeekTool for Apple Mac OS X

GeekTool is a excellent tool for Mac OS X to show text files or output from unix commands on your desktop without opening a Terminal window. I am using the tool to execute commands and perl scripts to monitor my computer status.



This command displays current network address for my computer.

netstat -n| awk '{print $4}' | grep -o "[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*" | head -n 1

For more information click here.