Archive for December 30th, 2007

Get External IP

Get the external IP of your system - useful if you have a dynamic ip…


curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'

Show Disk Usage - du

du shows the ‘disk usage’ - the space taken up by the files and folders in the current directory.


du -bh | more