Last night, my friend asked me to help him set up a simple environment. His company asked him to set up a software testing temperature. He did embedded himself and served as a software engineer in the company, recent graduates. Maybe they are not familiar with the linux system and will not upload software packages or files on windows to the linux service for compilation. I searched the internet today, but there are still a lot of people who can't find it. I will talk about this so easy problem here.
How to upload software packages or files on windows to the linux service is as follows: how to download linux Files to windows. Haha
There are more than one method. If you use a virtual machine with the share option, you can click vw -- set -- potion -- share.
I still remember that there was a software. After opening the software, I could open the Windows and linux directory files directly. This would be good for pulling the support.
Most of them are using some remote tool software, putty, xshell, SecureCRT... I mainly talk about this method:
I use xshell. First, connect the software to your linux host, install two software packages, and upload and download them.
[Root @ redhat ~] # Yum whatprovides */rz // use this method to find information about the software package that comes with the system. This is the package for uploading commands.
Lrzsz-0.12.20-27.1.el6.i686 // usually List 2 contents, the version of the package, path
Filename:/usr/bin/rz
[Root @ redhat ~] # Yum whatprovides */sz this is the package for downloading commands
Install it yourself ........ Rpm or yum
Next we will deploy the upload path: the xshell login page below
This is already logged on. If you are using xshell for the first time, your login page will be shown below
Next we will jump to the following .....
I am using upload and download the same Directory, which is very convenient. You can also use different directories.
After the above configuration, click OK. below is my windowsE: The content under the disk.
Next let's take a look at the upload process: when you enter the rz command and press enter, it will jump out of a conversation box and let you select a file.
Click to open the file you want to upload. The upload process may appear. My file may be larger. If it is a small file, it will arrive in seconds.
Next, the upload is successful and uploaded to your current path.
Next let's take a look at the use of the command sz to download. My current path root is the home directory, download that file,
After the download is successful, it will be downloaded to the win directory.