How to find and delete error files in /home.

Post Reply
a24uall
Site Admin
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

How to find and delete error files in /home.

Post by a24uall »

Below command will get the list of error log which are more than 1Gb in size.
find /home -type f -name "error_log" -size +100000 > /home/1gb_error.txt
Arun
WebhostingDevelopment.com
Post Reply

Return to “Disk Cleanup”