Copy file from server to local and local system to server on ubuntu by command

Ubuntu Desktop

Posted on 19 Apr 15 by Vickey

By command we can copy file from server to local and from local to server. here i am using ubuntu terminal for copy files

1 Copy from server to local

ubuntu@ubuntu-HP-2000-Notebook-PC:~$ scp root@ /var/www

in this command first i give file location on server and then directory path of local system where i want to download file

2. Copy files from local to server

ubuntu@ubuntu-HP-2000-Notebook-PC:/var/www$ scp root@

If this post help you reduce time to develop, you can help me to maintain this website :)