1, scp command
scp /home/work/source.txt [email protected]: / home / work / # to copy the file to a local source.txt / home on the 192.168.0.10 machine / work directory
scp [email protected]: /home/work/source.txt / home / work / # source.txt files on the machine 192.168.0.10 copy to the local / home / work directory
scp [email protected]: /home/work/source.txt [email protected]: / home / work / # source.txt files on the machine copy to 192.168.0.10 192.168.0.11 machine / home / work directory under
scp -r / home / work / sourcedir [email protected]: / home / work / # copy folders, add -r parameter
2, ftp command
If the ftp Server server installation, the other one Linux can use the ftp client program to remotely copy files to read and write upload download.
1. Connect the ftp server
format: ftp [hostname | IP-address]
A) at the input linux command line: ftp 192.168.26.66
B) a server asking you username and password, enter the username and the corresponding password, authentication can be.
2. Download the file
Download files usually get and mget these two commands.
a) get
format: get [remote-file] [ local-file]
The file transmitted from the remote host to the local host.
To obtain the server e: \ rose \ 1.bmp, the
ftp> get / rose / 1.bmp 1.bmp (carriage return)
b) mget
Format: mget [remote-files]
receives a number of documents from the remote host to the local host.
To obtain the server e: \ rose \ all files, the
FTP> CD / Rose
FTP> mget . (Press car)
https://www.cnblogs.com/zhangwuji/p/7152653.html
3, using wget to download a single file
Command: wget http://www.minjieren.com/wordpress-3.1-zh_CN.zip
https://www.cnblogs.com/fnlingnzb-learner/p/5831309.html