The Linux command uses scp to upload and download files and folders from the shared address of the server. Example demonstration, detailed explanation of the parameters of the scp command

If you want to transfer a file, you don't need the parameter -r , and the folder uses the parameter -r
syntax: scp [可选参数] 原地址 目的地址
I will demonstrate the file transfer below:

scp -r [email protected]:/data/disk/20200520/yonyou_nc /data/nccode/

After execution, enter the password of the corresponding server:

Insert picture description here
More parameter commands:
Insert picture description here
Like if you like ❤!

Guess you like

Origin blog.csdn.net/qq_38161040/article/details/106195770