Linux file upload using rz

1, first of all, if the server does not support rz command, then you need to install execution 

sudo yum -y install lrzsz

Install some commonly used commands

yum install -y net-tools vim lrzsz tree screen lsof tcpdump

2, then enter rz -be command, select a local file to be uploaded 

sudo government

Send a file from the server to the client:

sudo sz filename

Upload files from the client to the server

sudo rz
sudo rz -be 
Upload data to remote: sudo rz -be command execution, the client upload window will pop up, users choose (multiple choice) files can be uploaded.
Enter yum remove lrzsz you can uninstall the tool

Guess you like

Origin www.cnblogs.com/qingmuchuanqi48/p/12064684.html