method 1
Directly Xshell own file transfer tool, using the rz command to upload, download using the sz command, with specific reference to the link: https://www.cnblogs.com/pcyy/p/7568820.html
Method 2
Using a remote file transfer command to copy scp copy storage address
eg:
Local push files to the remote host
scp script.tar.gz [email protected]: / root /
remote host to the local file pull
scp [email protected]: /root/script.tar.gz ./
Linux is transmitted directly above each other, then speaks the file transfer between linux and win10
eg:
Native win10 -> Ubuntu
SCP city80.txt [email protected]: / Home / Python / Desktop
Ubuntu native -> win10
SCP city80.txt [email protected]:
copy files directly to the C: \ User \ 15583 Under contents
tips: win10 account user name is filled, I enter the whoami command window display in win10 is jason \ 15583 15583 actually fill in the account on it, copy the file to the default home directory 15583, that is: C: \ User \ 15583
Backup file
way: copy backup
cp script script - $ (date + % Y% m% d% H% M% S)
Second way: move the backup
mv script script - $ (date + % Y% m% d% H % M% S)