How to find the largest files and directories in Linux?
Article Number: 5 | Rating: Unrated | Last Updated: Mon, May 21, 2018 9:45 PM
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