Installation and usage instructions of rz/sz command under ubuntu

Foreword

When using the Linux system, we often need to upload local files to the server or download files from the server to the local. The rz / sz command is very convenient to help us achieve this function, but many Linux systems initially do not have these two command.

1 》Under the ubuntu system, the rz/sz command installation method is as follows:

apt-get install lrzsz

2 "Instructions for use

The sz command sends files to the local:

# sz filename 

The rz command will upload files locally to the server

# rz

After executing this command, select the file to upload in the pop-up box.

sz command

Usage description: The sz command uses the ZModem protocol to transfer files from the Linux server to the local. One or more files can be transferred at a time. Correspondingly upload files from the local to the Linux server, you can use the rz command.

Common parameters

If you can be sure that the transferred file is in text format, use sz -a files

If it is a binary file, use sz -be files

rz command

If you want to ensure that the uploaded file content is consistent with the original file after being saved on the server side, it is best to set these two flags at the same time, as shown below:

rz -be

When this command is executed, a file selection dialog box will pop up. After selecting the file to be uploaded, click OK to start the upload process. The upload speed depends on the current network conditions.

Recommended Posts

Installation and usage instructions of rz/sz command under ubuntu
Installation and use of GDAL in Python under Ubuntu
Installation of deb package under Ubuntu
Installation of Docker CE under Ubuntu
Ubuntu common instructions and usage details
Coexistence of CUDA8.0 and CUDA9.0 under Ubuntu 16.04
ubuntu Docker installation and deployment of Rancher
Detailed explanation of quick installation and configuration of Subversion (SVN) under Ubuntu
Installation and configuration of redis under centos7
Installation and deployment of Nginx in Ubuntu
Installation and use of Win10 subsystem Ubuntu
DLNA/UPnP Server installation and configuration under Ubuntu 12.04
Installation and configuration of rsync server under CentOS 6.5
Kaldi installation and configuration graphic tutorials under Ubuntu
Installation, configuration and uninstallation of GitLab in Ubuntu19.1
Installation and use of SSH in Ubuntu environment
Ubuntu introduction and installation
[python] python2 and python3 under ubuntu
LNMP installation under Ubuntu
Summary of ubuntu usage
Installation and cracking of confluence6.3 operation records under Centos
Ubuntu16.04 mirror complete installation and configuration tutorial under VMware
Installation and cracking of Jira7 operation records under Centos
Installation and simple practice of MySQL in ubuntu environment (1)
Ubuntu16.04 installation and simple configuration
Use of mediawiki under ubuntu
Ubuntu PostgreSQL installation and configuration
Happy installation of Jenkins in ubuntu
Installation under centos6.9 of jenkins learning
CentOS7 installation and maintenance of Gitlab
Detailed explanation of the installation and use of SSH in the Ubuntu environment
Install and deploy Gerrit under Ubuntu
Install nodejs and npm under Ubuntu 16.04
Installation instructions for gitlab in Ubuntu
Java-JDK installation and configuration under CentOS
Ubuntu 16.04 installation graphic tutorial under VMware 12
Ubuntu 19.1 installation and configuration Chinese environment
Ubuntu basic settings: introduction to the installation and use of openssh-server
Configuration and beautification after Ubuntu installation (1)
Nginx installation and configuration load (ubuntu12.04)
Ubuntu18.04 installation Anaconda3 and VSCode guide
Erlang 20.2 installation and deployment under CentOS 7
Ubuntu configuration source and installation software
Compile and install QEMU under Ubuntu
Install the latest version of Thunderbird and exchange plugins under ubuntu
Installation of python common libraries under windows
Ubuntu installation and deployment Redash operation notes (2020.08)
51 MCU program development and download under Ubuntu
Tomcat installation and configuration under CentOS 7 (Tomcat startup)
MySQL 8.0 installation, deployment and configuration under CentOS 6/7
Ubuntu18.04 system installation and prerequisite software installation guide
Centos7 installation and deployment of gitlab server
Install docker on ubuntu and basic usage
Ubuntu18.04 Server version installation and use (graphic)
The apt-get command of Ubuntu basic tutorial
The implementation of the Ubuntu18.04 installation Pycharm tutorial
Zabbix installation and deployment and localization under CentOS
Jenkins installation and deployment tutorial under CentOS 7
Ubuntu 14.04 16.04 Linux nvidia driver download and installation
KVM installation and preliminary use under CentOS 7.2
Centos7 installation and deployment of Airflow detailed