How do I check how much space each subdirectory uses in ubuntu
- User
How do I check how much space each subdirectory uses in ubuntu
Assistant
Here are a few ways to check how much space each subdirectory is using in Ubuntu:
-
Use the
du(disk usage) command:bashdu -sh /path/to/directoryThis will show the size of each subdirectory recursively under the given directory.
-
Use the GUI Disk Usage Analyzer tool:
Open the Disk Usage Analyzer from the Applications menu. It will graphically show the size of each subdirectory.
-
Use the
df(disk free) command to check individual subdirectory sizes:
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.