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
Article Number: 5
Posted: Sun, May 20, 2018 9:29 AM
Last Updated: Mon, May 21, 2018 9:45 PM
Online URL: http://kb.ictbanking.net/article.php?id=5