Last update at :2024-07-07,Edit by888u
When we manage Linux VPS and servers, file management usually uses FTP tools for uploading and downloading. Even if there are script modifications to some documents, to be on the safe side, if we are not very familiar with the vi editor, we can download them locally first, and then It is safer to upload and replace after editing. If we are familiar with scripts, we can modify and edit them online.
Today Snail saw a lrzsz software that comes with Linux. It can upload and download files directly in XSHELL without the need for FTP tools. I thought this was quite interesting, so we played with it.
First, lrzsz installation
1. CentOS
yum update -yyum install lrzsz -y
2. Debian
apt-get update -yapt-get install lrzsz -y
Second, lrzsz use
1. Upload
rz
Execute the command, and then you can see the pop-up window and select the file we need to upload.
2. Download
sz needs to download the file name
This can achieve basic and simple FTP functions, but it is just for fun. We still need to use FTP when we need to be on the safe side.
Recommended site searches: US virtual space, Ministry of Industry and Information Technology website registration system, US independent host, US vps host, Hong Kong virtual host, forum registration, virtual host service provider, web page registration, free domain name space application, the cheapest dual-line space
发表评论