Simple command to find out the directory disk usage

ls -F | grep “/” | xargs du -hs

For admin to snoop everybody, try

ls -F | grep “/” | sudo xargs du -hs

This entry was posted in linux goodies. Bookmark the permalink.