![]() ![]() du /folder-nameĮxample2: Ok, the above command just show size in bytes, how about showing them in KB, MB or GB etc? We can accomplish that with -h option which is for human readable. Note: Do not execute below command on a folder which have many files and folder like / folder because it will list all the folders and sub folders with in it, which may go bit deep. ![]() ![]() In this post we will see how to use du to get the sizes Some times we require to see size of a directory or it’s sub directories or hidden directories so that we can come to know how much size they are occupying on our disk.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |