Linux好用的工具命令 - rz/sz

Linux系統中將本地的文件上傳到服務器或者從服務器上下載文件到本地能夠經過安裝lrzsz工具來簡單便利的完成。linux

>>RZ :將本地的文件上傳到服務器bash

>>SZ:從服務器上下載文件到本地服務器

1、工具安裝工具

root@pentest-OptiPlex-3010:~# apt-get install lrzsz
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are 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-generic
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  minicom
The following NEW packages will be installed:
  lrzsz
0 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 will 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) ...

2、工具使用ui

>> 將本地的文件上傳到服務器this

>> 從服務器上下載文件到本地spa

相關文章
相關標籤/搜索