Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux get folder size

df -h .; du -sh -- * | sort -hr

#Filesystem      Size  Used Avail Use% Mounted on
#/dev/sdb2       206G  167G   29G  86% /
#115M    node_modules
#2.1M    examples
#68K     src
#4.0K    webpack.config.js
#4.0K    README.md
#4.0K    package.json
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #linux #folder #size
ADD COMMENT
Topic
Name
7+2 =