Forum Discussion
Jinshu
Apr 13, 2016Cirrus
Hello Friend,
You can use the find command to locate old maintenance-related files and safely delete if you no longer need them. For example, to locate the 20 largest files on the system, you would use the following command syntax:
find
-xdev -type f -exec du {} \; | sort -rn | head -20
In your case the directory would be
/var
. This command will list you top 20 huge files in /var directory. Review the files and delete it using rm commands.
-Jinshu