Skip to content

Instantly share code, notes, and snippets.

View runemadsen's full-sized avatar

Rune Skjoldborg Madsen runemadsen

View GitHub Profile
runemadsen /
Last active May 30, 2018 18:42
Handy Bash Scripts
# show top top 10 most consuming processes
ps -A --sort -rss -o comm,pmem,pcpu | head -n 11
# show total size of folder
du -ch | grep total
# show remaning space left on HD
df -h
# show subfolders of current dir and their size