Unix & Me
Friday, September 16, 2016
How to List Sizes of Directories or Folders in Linux
When you use
$ ls -lh
it only displays the sizes of files, but not the directories or folders.
Here is how to list the sizes of directories or folders:
$ du -sh *
Very handy!
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment