Kripal Blog|

Archives for Linux category

Linux SCP Command

If you wants to copy big files from one server to another you can use scp command

scp  [filename] [destinationhostname]/[Location]

forexample

scp kripal.tar.gz root@55.55.55.55/home/test/

If your destination ssh port is not default then you have to use

scp -P [portname] [filename] [destinationhostname]/[Location]

Delete Directory Via SSH

Everytime when i have to delete full directory i looking into google so finally posting it here to remember it all the time.

To delete directory with sub directory via ssh command linke

rm -r -f YourDirectory