Thursday, December 11, 2014

Ubuntu: copy file from local computer to another computer.

To copy a file (e.g. /var/app.jar) from the local computer to the "/tmp" folder of a remote computer (said root@192.168.2.2), run the following command:

> scp /var/app.jar root@192.168.2.2:/tmp

No comments:

Post a Comment