rzsz command to transfer files between Linux and Windows
Link : https://blog.csdn.net/2201_76004325/article/details/135717753?spm=1001.2100.3001.7377&utm_medium =distribute.pc_feed_blog_category.none-task-blog-classify_tag-20-135717753-null-null.nonecase&depth_ 1- utm_source=distribute.pc_feed_blog_category.none-task-blog-classify_tag-20-135717753-null-null.nonecase
About rzsz
This tool is used to transfer files between Windows machines and remote Linux machines through XShell.
After installation, files can be uploaded by dragging and dropping.
-
First, let’s take a look. Can our machine use the network?
-
You can verify it through
ping
the command [ Ignore this step if you are using a cloud server ]
ping -c 5 www.baidu.com
-
When the IP address and milliseconds appear, it's ok.
-
You can use
yum list
the command to list the current software packages. Since the number of packages may be very large, here we need to usegrep
the command to filter out only the packages we are concerned about. We need to use the rzsz command, so let’s search
yum list | grep rzsz
1
-
You can see that the search came out, and then installed it.
install software
-
When installing here, you can follow the software name directly, or you can do the whole process.
-
If you are using this under ordinary users
sudo
and cannot install it, you can read this article----> Click me
sudo yum install -y lrzsz.x86_64
Use command
-
Download to local
-
I have a file here, download it locally using sz
sz file1.txt
-
Then the desktop will be there~~
-
upload files
Method 1: Drag and drop directly
-
Just drag and drop the file directly to the terminal.
Method 2: Enter rz directly in the terminal
rz
-
Just select the file in the pop-up window~~
Spring recruitment has begun. If you are not fully prepared, it will be difficult to find a good job in spring recruitment.
I’m sending you a big employment gift package, so you can raid the spring recruitment and find a good job!