Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

get Linux directory size

du -sh directory_path
-s, --summarize
         display only a total for each argument

  -h, --human-readable
         print sizes in human readable format (e.g., 1K 234M 2G)
Source by www.howtouselinux.com #
 
PREVIOUS NEXT
Tagged: #Linux #directory #size
ADD COMMENT
Topic
Name
5+4 =