clean /var space on linux

Login to linux machine.
cd /var/log (run the below find command)
find *.gz -type f -mtime +5 -exec rm {} \; #become sudo if needed.
then check df -h /var

Add comment


Security code
Refresh

Category: