Linux下scp命令的使用
介绍:
Scp: Secure copy安全拷贝缩写
作用:
实现linux操作系统下文件的安全拷贝
实例:
在80.86下将80.85的/home/test.c文件拷到当前目录下:
scp root@10.192.80.85:/home/test.c ./
在80.86上将当前目录的test.c文件拷贝到80.85的/home目录下:
scp ./test.c root@10.192.80.85:/home/
介绍:
Scp: Secure copy安全拷贝缩写
作用:
实现linux操作系统下文件的安全拷贝
实例:
在80.86下将80.85的/home/test.c文件拷到当前目录下:
scp root@10.192.80.85:/home/test.c ./
在80.86上将当前目录的test.c文件拷贝到80.85的/home目录下:
scp ./test.c root@10.192.80.85:/home/