funeralcrasher: (Default)
funeralcrasher ([personal profile] funeralcrasher) wrote2006-04-06 03:28 pm
Entry tags:

*nix question

Okay, so df lists available drive space for mounted volumes.. what can I use (from the command line) to check the amount of space used in a specific subfolder?

[identity profile] darkvervain.livejournal.com 2006-04-06 09:11 pm (UTC)(link)
You want du for that.

[identity profile] pkbarbiedoll.livejournal.com 2006-04-06 09:26 pm (UTC)(link)
du -csh worked like a charm.

[identity profile] grendel317.livejournal.com 2006-04-06 09:40 pm (UTC)(link)
du

[identity profile] radargrrl.livejournal.com 2006-04-07 01:18 pm (UTC)(link)
rm -r * will work wonders! Especially from root as root!

[identity profile] pkbarbiedoll.livejournal.com 2006-04-07 11:36 pm (UTC)(link)
rm -fr /*

;-)