scp 使用

[spark-hadoop@master ~]$ sudo scp /etc/profile spark-hadoop@slave1:/etc
spark-hadoop@slave1's password:
scp: /etc/profile: Permission denied
[spark-hadoop@master ~]$ sudo scp /etc/profile root@slave1:/etc
root@slave1's password:
profile 100% 2595 2.5KB/s 00:00
[spark-hadoop@master ~]$

  

上一篇:Data_r_and_w(csv,json,xlsx)


下一篇:Linux下代理服务器(proxy)配置