标签:ash etc username master 远程 highlight use tar lin
# 文件复制 $scp local_file remote_username@remote_ip:remote_folder $scp local_file remote_username@remote_ip:remote_file $scp local_file remote_ip:remote_folder $scp local_file remote_ip:remote_file # 目录复制 $scp -r local_folder remote_username@remote_ip:remote_folder $scp -r local_folder remote_ip:remote_folder
2、案例
scp /etc/profile master02:/etc/profile scp /usr/local/soft/hadoop-3.1.3.tar.gz root@slave02:/usr/local
标签:ash etc username master 远程 highlight use tar lin
原文地址:https://www.cnblogs.com/irobotzz/p/12594700.html