Tag Archives: du

List directories recursively in linux/unix

Recursive listing of directories can help us begin to understand the current directory structure. In linux/unix, we can use any of the following commands to list files and directories recursively: ls command find command tree command du command Use the … Continue reading

Posted in How to | Tagged , , , | Comments Off on List directories recursively in linux/unix

How to sort by size using the du command

The default options of the linux du command are not sorted according to the size of the disk. If you want to display the results of du according to the disk usage size, you need to use the pipe and … Continue reading

Posted in How to | Tagged , , | Comments Off on How to sort by size using the du command

du command tutorial in linux/unix with examples and use cases

Linux du command – estimate file space usage Linux du command recursively summarizes the disk usage of a file or directory. Syntax Options -0, –null end each output line with NUL, not newline -a, –all    write counts for all … Continue reading

Posted in System | Tagged , , | Comments Off on du command tutorial in linux/unix with examples and use cases