Jun 092011
How to find the largest files and directories in Linux?
Answer:
For example, to list out top 10 files and directories inside /opt, you can use the following command:
# du -a /opt| sort -nr | head -n 10
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to find the largest files and directories in Linux?
Answer:
For example, to list out top 10 files and directories inside /opt, you can use the following command:
# du -a /opt| sort -nr | head -n 10