Linux system to upload local files to the server or download files from the server to the local can be done by installing the Lrzsz tool for easy and convenient.
>>rz: Uploading local files to the server
>>sz: Downloading files from the server to the local
First, tool installation
[email protected]:~# apt-get Install lrzszreading package lists ... Donebuilding Dependency Tree Reading state information ... Donethe following packages were automatically installed and is no longer required:linux-headers-4.4.0-87 linux-headers- 4.4.0-87-generic linux-headers-4.4.0-89 linux-headers-4.4.0-89-generic Linux-image-4.4.0-87-generic Linux-image-4.4.0-89-generic linux-image-extra-4.4.0-87-generic linux-image-extra-4.4.0-89-genericuse ' sudo apt Autoremove ' to remove them. Suggested packages:minicomthe following NEW packages would be installed:lrzsz0 upgraded, 1 newly installed, 0 to remove and 258 not upgraded. Need to get 0 b/73.8 KB of archives. After this operation, 265 KB of additional disk space would be used. Selecting previously unselected package Lrzsz. (Reading database ... 307798 files and directories currently installed.) Preparing to unpack .../lrzsz_0.12.21-8_amd64.deb ... Unpacking Lrzsz (0.12.21-8) ... Processing triggers for man-db (2.7.5-1) ... Setting uP Lrzsz (0.12.21-8) ...
Second, the use of tools
>> upload Local files to the server
>> downloading files from the server to the local
Linux Handy tool Commands-Rz/sz