How to use scp command?

To copy files from another server to local server. SCP is the secure command for it. Please use it using following syntax. scp -pr hr-root@x.y.z:/home/filename.gz /home Lets try it.

See More

How to empty /tmp

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        

See More