Useful shortcuts for vi editor

Wednesday 10 December 2014

How to use secure copy in Linux Terminal?

To upload:
$ scp [desired files] [login_user]@[host]:/[remote path]
e.g.
$ scp *.txt alper@10.10.10.10:/home/alper/mynewtextfiles

To download:
$ scp [login_user]@[host]:/[remote path] [local directory] 
e.g.
scp alper@10.10.10.10:/home/alper/mynewtextfiles/* /home/alper2/mydirectory/