Linux的远程复制命令scp

admin 2017-03-24 0 次浏览

Linux的远程复制命令scp

在cygwin窗口中命令如下:

test@test ~

$ cd /cygdrive/f/20110929

test@test /cygdrive/f/20110929

$ ls

将本地20110929中的所有以tar.gz的压缩包上传至

test@testredhat中的tmp目录下(开启的端口假设是9022):

test@test /cygdrive/f/20110929

$ scp -P 9022 *.gz test@testredhat:/tmp/

请关闭浏览器的畅读模式或者取消屏蔽JavaScript的正常运行,避免出现内容显示不全或者段落错乱。

原网页地址:https://www.xmshow9.net/xuexi/2919028.html