Home >Operation and Maintenance >Linux Operation and Maintenance >How to import and export files in linux

How to import and export files in linux

王林
王林Original
2019-12-25 10:35:0912239browse

How to import and export files in linux

step1: In Linux, first check whether the system has rzsz installed

Check command:

rpm -qa|grep rzsz

How to import and export files in linux

step2: If it is not installed, you can use the yum package to automatically install rzsz

Recommended related learning video tutorials: linux video tutorials

Installation command:

yum install -y lrzsz

How to import and export files in linux

#step3: Enter the rz command in the directory, and then press enter to import the file

How to import and export files in linux

step4: Enter the required import in the pop-up box file, and then wait for the transfer to complete, you can check in the Linux directory that the file has been successfully imported

How to import and export files in linux

How to import and export files in linux

step5: When you need to export In the directory of the file, use sz to export the file

Export command:

sz 文件名

How to import and export files in linux

step6: Select the export directory and wait for the transfer to complete, then you can export it in Windows See the exported file

How to import and export files in linux

How to import and export files in linux

Recommended related articles and tutorials: linux tutorial

The above is the detailed content of How to import and export files in linux. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn