SHA1 online | SHA1 in JAVA | Secure password generator | Linux | Privacy Policy

Linux - Directory size from command line

Command

du -hs /path/to/directory

Example

du -hs /home

Be aware

This command may take a while for directories containing a lot of subdirectories and files.