I have used du -sh * in the past for listing the sizes of the subdirectories and files under the current directory. The same effect (of listing files too) can be achieved with the given --max-depth argument by adding --all also (du -s --all --max-depth=1), but we are lazy and less typing is better, isn't it? :)
I have used
du -sh *
in the past for listing the sizes of the subdirectories and files under the current directory. The same effect (of listing files too) can be achieved with the given --max-depth argument by adding --all also (du -s --all --max-depth=1
), but we are lazy and less typing is better, isn't it? :)Comment Responses
Make it an alias then!
Reply To This Comment