Answers for "linux command for file size"


linux file size

cd dir ; du -hsx * | sort -rh | head -20 
# example output
# 300MB    some_backup_file.log
# 1.8GB    some_huge_file.war
Posted by: Guest on August-11-2020

linux command for file size

#Get file size of each folder
du -bsh *
Posted by: Guest on April-26-2020

Code answers related to "linux command for file size"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language