Get the size of a specific directory in Linux
To get the actual size of a directory you need to run the *du* command (disk usage)
Examples
For a directory owner by user
The output will be like
- s - Display only the total size of the specified directory, do not display file size totals for subdirectories.
- h - Print sizes in a human-readable format (h).
If the directory is owner by root
The output will be like
For more option check man du
----------
----------
© DarknessCode