How to copy files between two Linux machines?

1. Upload file.
    scp source.txt [email protected]:/opt/temp/dest.txt
 
2. Download file.
    scp [email protected]:/opt/temp/dest.txt source.txt
 
After is is run, you will be prompted to input the password for user robert.
 
Reference
 
http://www.linuxdiyf.com/viewarticle.php?id=15013

你可能感兴趣的:(linux,职场,copy,Files,休闲)