Linux 远程复制scp

# 文件复制
$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

  

上一篇:将文件进行分类整理


下一篇:D:\Software\Keil5\ARM\PACK\Keil\STM32F1xx_DFP\2.1.0\Device\Include\stm32f10x.h(483): error