Small note ------- linux scp remote copy command

//phoenix-4.10.0-HBase-1.2-server.jar want to copy a file or folder
// root of the current user  
//192.148.21.1 remote machine path, can also be a domain name.
// $ PWD copied to the remote machine path consistent with the current path of the machine
scp -r phoenix-4.10.0-HBase-1.2-server.jar [email protected]:$PWD
/// opt / cdh / submit to any path remote copy machines
scp -r phoenix-4.10.0-HBase-1.2-server.jar [email protected]:/opt/cdh/submit

Guess you like

Origin www.cnblogs.com/yzqyxq/p/11574389.html