Answers for "get size of current directory linux"


how to check folder size in linux

# show all folder size in the current directory
du -h --max-depth=1
Posted by: Guest on January-18-2021

shell get size of directory

du -h your_directory
# gives you the size of your target directory.
du -hcs your_directory
# If you want a brief output.
Posted by: Guest on March-26-2020

how to get the size of directory in linux

du -sh /var
Posted by: Guest on June-24-2020

show directory size linux

du -sh /home/george
2.1G    /home/george
Posted by: Guest on March-05-2020

command to check size of folder in linux

du -lh --max-depth=1 --block-size=M | sort -nr
Posted by: Guest on September-30-2020

check size of folder linux

#using -h displays the size of a folder in kb,mb and gb for better understanding
#and human readable
ll -h

#don't forgive to give a thumbs up
Posted by: Guest on September-26-2021

Code answers related to "get size of current directory linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language