A complete guide to the du command in Linux ๐งโ
The du command, which stands for "disk usage," returns the estimated amount of disk space used by specified files or directories.
The du command is extremely useful for locating files and directories that are taking up a lot of disk space on your system.
The du command is extremely useful for locating files and directories that are taking up a lot of disk space on your system.
The du command options
The du command has several options that can be used to control how it displays output and what is included in the output.
I'll only go over the most commonly used ones.
The du command has several options that can be used to control how it displays output and what is included in the output.
I'll only go over the most commonly used ones.
The -h option
In most cases, you'd want to show only the amount of space occupied by the specified directory in a human-readable format. To accomplish this, use the -h option.
In most cases, you'd want to show only the amount of space occupied by the specified directory in a human-readable format. To accomplish this, use the -h option.
End of this thread.
Visit @linuxopsys and check out more exciting Linux content. ๐ง๐
Visit @linuxopsys and check out more exciting Linux content. ๐ง๐
Loading suggestions...