Find 5 biggest files in Linux
May 9, 2021 Leave a comment
I have used this command many times, but the interval between each usage is so big that I almost always forget the syntax.
So here it is:
# du -a / | sort -n -r | head -n 5 51190272 / 37705424 /root 33040524 /root/apache-tomcat-7.0.53 32802516 /root/apache-tomcat-7.0.53/logs 32802440 /root/apache-tomcat-7.0.53/logs/catalina.out