How to Check Directory Size From the Linux Command Line

Share
  • January 21, 2022
While the Linux command ls can display the sizes of files, it doesn’t work properly with directories, which will always be displayed as 4096 bytes. You’ll need to use the du command to recurse into subdirectories and print out a total.

Read This Article on CloudSavvy IT ›

Source : How to Check Directory Size From the Linux Command Line