Skip to content

Checking your reading list…

Retry

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Operations 2 min read

How to Install and Use lrzsz for Drag‑Drop File Transfer on Linux

This guide explains how to install the lrzsz utility on a Linux server, then demonstrates uploading files via drag‑and‑drop or the rz command and downloading single or multiple files using the sz command, including pattern‑based selections.

lrzsz is a Linux utility that can replace FTP for uploading and downloading files, supporting drag‑and‑drop plugins as well as the traditional rz and sz commands.

Installing lrzsz

yum -y install lrzsz

Uploading a File

Files can be uploaded by dragging them into the terminal window or by executing the rz command, which opens a file‑selection dialog (e.g., in Xshell).

rz

Downloading a File

To download a single file: sz rumenz.txt To download multiple files at once: sz rumenz.txt rumenz1.txt To download all files in the current directory except those inside the rumenz folder:

sz rumenz/*
About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

LinuxCommand LineTutorialfile transferlrzszrzsz

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion