How to empty /tmp

wordpress Hosting

If you want to delete all files and dirs from /tmp use following command.

cd /tmp

chattr +i lost+found; deltree -f *; deltree -f .*; chattr -i lost+found

ln -s /var/lib/mysql/mysql.sock

service mysql restart

/scripts/restartsrv mysql

above commands will help you to delete all files under /tmp

 

 

 

 


Cpanel Hosting