Upload the window software to the linux server through the Xshell tool

The method is to log in to the remote server linux through the xShell tool and install the rz command to upload files to linux

1. On the Linux host, install the upload and download toolkits rz and sz

 

If you don't know the specific name of the package you want to install, you can use yum provides */name to find the information about the package that comes with the system;

[root@S517590 ~]# yum provides */rz

lrzsz-0.12.20-27.1.el6.i686 : The lrz and lsz modem communications programs

Repo        : base

Filename    : /usr/bin/rz

Generally, the name and version of the package are listed, as well as the installation path; after querying the package name, use yum install -y package name to install.

After the lrzsz package is installed, it includes uploading rz and downloading sz commands; you only need to install this package.

[root@S517590 ~]# yum install -y lrzsz

2. To upload a file from Windows, the upload command is rz; enter rz in the Linux command line, and the uploaded file is in the directory of the current command line;

[root@S517590 ~]# rz

After entering the rz command, a dialog box will pop up, select the file you want to upload, and select Open to upload it to the Linux host. After uploading, you can use ls to view;

3. Download the file from the Linux host, the download command is sz, followed by the file name to be downloaded; you can choose the download folder;

[root@S517590~]# sz apache-tomcat-7.0.70.tar.gz

 

You can easily upload and download by installing the rz and sz commands. The record of the learning process is for reference only

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326414735&siteId=291194637