每天一linux命令 scp命令
来源:互联网 发布:linux uname命令 编辑:程序博客网 时间:2024/05/21 15:44
上传前目标机器的目标目录:
[root@localhost ~]# cd /opt/soft/scptest/
[root@localhost scptest]# ll
总计 484
-rw-r--r-- 1 root root 490220 03-15 09:25 nginx-0.5.38.tar.gz
[root@localhost scptest]#
本地机器上传:
[root@localhost ~]# scp -r /opt/soft/mongodb root@192.168.120.204:/opt/soft/scptest
root@192.168.120.204's password:
mongodb-linux-i686-static-1.8.5.tgz 100% 28MB 28.3MB/s 00:01
README 100% 731 0.7KB/s 00:00
THIRD-PARTY-NOTICES 100% 7866 7.7KB/s 00:00
mongorestore 100% 7753KB 7.6MB/s 00:00
mongod 100% 7760KB 7.6MB/s 00:01
mongoexport 100% 7744KB 7.6MB/s 00:00
bsondump 100% 7737KB 7.6MB/s 00:00
mongofiles 100% 7748KB 7.6MB/s 00:00
mongostat 100% 7808KB 7.6MB/s 00:01
mongos 100% 5262KB 5.1MB/s 00:00
mongo 100% 3707KB 3.6MB/s 00:00
mongoimport 100% 7754KB 7.6MB/s 00:01
mongodump 100% 7773KB 7.6MB/s 00:00
GNU-AGPL-3.0 100% 34KB 33.7KB/s 00:00
[root@localhost ~]#
上传后目标机器的目标目录:
[root@localhost scptest]# ll
总计 488
drwxr-xr-x 3 root root 4096 03-15 09:33 mongodb
-rw-r--r-- 1 root root 490220 03-15 09:25 nginx-0.5.38.tar.gz
[root@localhost scptest]#
[root@localhost ~]# cd /opt/soft/scptest/
[root@localhost scptest]# ll
总计 484
-rw-r--r-- 1 root root 490220 03-15 09:25 nginx-0.5.38.tar.gz
[root@localhost scptest]#
本地机器上传:
[root@localhost ~]# scp -r /opt/soft/mongodb root@192.168.120.204:/opt/soft/scptest
root@192.168.120.204's password:
mongodb-linux-i686-static-1.8.5.tgz 100% 28MB 28.3MB/s 00:01
README 100% 731 0.7KB/s 00:00
THIRD-PARTY-NOTICES 100% 7866 7.7KB/s 00:00
mongorestore 100% 7753KB 7.6MB/s 00:00
mongod 100% 7760KB 7.6MB/s 00:01
mongoexport 100% 7744KB 7.6MB/s 00:00
bsondump 100% 7737KB 7.6MB/s 00:00
mongofiles 100% 7748KB 7.6MB/s 00:00
mongostat 100% 7808KB 7.6MB/s 00:01
mongos 100% 5262KB 5.1MB/s 00:00
mongo 100% 3707KB 3.6MB/s 00:00
mongoimport 100% 7754KB 7.6MB/s 00:01
mongodump 100% 7773KB 7.6MB/s 00:00
GNU-AGPL-3.0 100% 34KB 33.7KB/s 00:00
[root@localhost ~]#
上传后目标机器的目标目录:
[root@localhost scptest]# ll
总计 488
drwxr-xr-x 3 root root 4096 03-15 09:33 mongodb
-rw-r--r-- 1 root root 490220 03-15 09:25 nginx-0.5.38.tar.gz
[root@localhost scptest]#
0 0
- 每天一linux命令 scp命令
- 每天一个linux命令-scp
- 每天一个linux命令:scp命令
- 每天一个Linux命令(57):scp
- 每天一个linux命令(60):scp命令
- 每天一个linux命令(60):scp命令
- 每天一个linux命令(60):scp命令
- 每天一个linux命令(60):scp命令
- 每天一个linux命令(60):scp命令
- 每天一个linux命令(60):scp命令
- 每天一个linux命令(60):scp命令 【转】
- 每天一个linux命令(60):scp命令
- 每天一个linux命令(60):scp命令 【转】
- 每天一个 Linux 命令(60):scp命令
- 每天一个Linux命令(60):scp命令
- 每天一个linux命令(60):scp命令
- 每天一个linux命令(60):scp命令
- linux命令---scp命令
- 华为P7砖头机刷机
- GDOI2016第一次终极模拟总结
- JDK
- 玩转VIM编辑器
- 时间序列 R 10 其他进阶预测方法 Advanced forecasting methods
- 每天一linux命令 scp命令
- 简单的计数排序
- 欢迎使用CSDN-markdown编辑器
- JavaScript实现本地存储
- spring+mybatis+maven整合
- 电脑能ping通却打不开网页
- 编程之美之从无头单链表中删除节点
- PHP学习03----开发环境搭建
- java中常用的数据类型