Exercise - du (disk usage)
-
Implement the Linux/Unix
ducommand: -
Given a filename shows the size of the file.
-
Given a folder shows the file sizes in the whole directory tree.
-
Given the
-sflag shows a summary instead of all the files.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
Implement the Linux/Unix du command:
Given a filename shows the size of the file.
Given a folder shows the file sizes in the whole directory tree.
Given the -s flag shows a summary instead of all the files.