I'm looking for the equivalent of right clicking on the drive in windows and seeing the disk space used and remaining info.
views:
2360answers:
6
A:
If you want to see how much space each folder ocuppes:
du -sh *
s: summarize h: human readable *: list of folders
German
2008-10-23 17:21:37
+2
A:
I love doing du -sh * | sort -nr | more .. to sort by the largest files first
Paulo Delgado
2008-10-23 17:41:20
You might want to make that 'du -s *...' instead. 'sort -n' thinks that 1015K is larger than 65M.
Dave Sherohman
2008-10-25 22:09:02
true... my bad... also.. one must be careful depending on the system... BSD support sort -nr ... it's different in linux...
Paulo Delgado
2008-10-31 19:03:52