Skip to content

Instantly share code, notes, and snippets.

@searls
searls / magnus awesome.sh
Created August 18, 2011 12:05
How @magnusstahre reviews disk usage from the command line in *nix
du -k / > /tmp/du
find / -ls > /tmp/ls
sort -n /tmp/du #to find the biggest directories
sort -n -k 7,7 /tmp/ls #to find the biggest files
#at least the latter one you probably want to pipe to either say less or tail
sort -n -k 7,7 /tmp/ls | tail -100
@rdammkoehler
rdammkoehler / ILoveAwesomeCode.lyrics
Created May 31, 2011 20:07
I Love Awesome Code to the tune of I Love Rock 'n Roll
I saw him standin' there by the CI machine
I knew he must a been about seventeen
The beat was goin' strong
Buildin' my favorite Long
An' I could tell it wouldn't be long
Till the light would be green, yeah green
And I could tell it wouldn't be long
Till the light would be green, yeah green, singin'
I love awesome code