Report space remaining on disk on unix login
Sunday, March 23rd, 2008I get a kick out of stuff like this. Add this to your .bash_profile to be greeted with the remaining space on your disk. df -h | awk 'NR==2 {print "Space available " $4}' This will actually change depending on which version of df you're using (i think). I get ...