Problem Statement
How do you identify and clean large unnecessary files consuming disk space?
Explanation
Use du and find commands to locate large files, then manually delete or archive them.
You can automate this cleanup using a shell script scheduled via cron for periodic maintenance.
Code Solution
SolutionRead Only
find / -type f -size +500M -exec ls -lh {} \;Practice Sets
This question appears in the following practice sets: