Menu

How to check size of a file or directory in Linux?

We could check the size of a file or directory using the below Linux command.

du -sh <folder/directory name>