Linux命令整理之七:scp
来源:互联网 发布:棉麻旗袍 知乎专栏 编辑:程序博客网 时间:2024/05/22 01:54
cp命令是用来复制本地文件的,而scp是用来在多个系统间安全的复制文件,属于安全网络连接实用程序openssh套件中的一个。
用法如下:
$ scpusage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 ... [[user@]host2:]file2
简单介绍几个参数:
-p:每个副本的修改时间和访问权限与原始文件保持相同。(preserve)
-q:不显示复制的进度表。(quiet)
-r:递归的复制文件。(recursive)
-v:显示关于连接和传输的调试消息。(verbose)
举个例子:
$ scp /home/linc/Documents/linc/android4.4dev.pdf root@115.28.23.153:/home/lincroot@115.28.23.153's password: android4.4dev.pdf 100% 5618KB 5.5MB/s 00:01
0 0
- Linux命令整理之七:scp
- Linux之scp命令
- Linux之scp命令
- Linux命令之scp
- linux之scp命令
- Linux命令之"scp"
- linux 命令 之 scp
- Linux命令之scp
- Linux之命令scp
- Linux命令之:SCP 命令
- Linux命令之:scp命令
- linux之scp命令及nohup scp
- linux之cp/scp命令
- linux之cp/scp命令
- linux之cp/scp命令
- linux之cp/scp命令
- linux 命令学习之- (scp)
- linux之scp命令学习
- tomcat7 设置用户名和密码 roles设置内容与以往的不同
- iOS学习4:UITextView的用法及技巧(ios7下光标bug解决方案)
- android培训、java培训、java学习型技
- PAT5-08. 迷你搜索引擎
- C# 反射属性值和遍历属性名
- Linux命令整理之七:scp
- pl/sql环境变量设置
- 写一篇文章试试
- UVa 10340 All in all
- 自测2. 素数对猜想
- 深拷贝与浅拷贝
- bootstrap入门 css栅格系统
- 大型网站系统架构的演化
- 智能手机之双卡双待的实现方案