0844 357 93 93

Find large files:

link: https://www.cyberciti.biz/faq/find-large-files-linux/


root@webserver [/]# find . -type f -size +150M -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Delete mysql error logs:


This is an error log and you can delete it.


This is a MySQL database. You will need to login to MySQL as root and flush the MySQL database. You can do this with PHPMyAdmin. Login to PHPMyAdmin with the root user to do this. It is safe to flush this table.

Or do it in command line with these commands

mysql -u root -p

Enter password

mysql> use eximstats

mysql> delete from sends;

mysql> delete from smtp;

mysql> delete from failures;

mysql> delete from defers;

This will flush the eximstats logs. If you cannot remember the mysql root password you can change/reset it in WHM. Search for MySQL root password in WHM and it should show up in the list.

Remove files:

rm -f

Calculate free space: 

df -h

Marketing consultants, website design, copywriting, brochures, and newsletters | Swansea | Pontardawe | Ammanford | Ystradgynlais | South Wales