In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you what are the Linux packaging commands. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
What are the packaging commands under Linux? There are many commands available for packaging under Linux. Let's share some common packaging commands under Linux.
1. Tar command using tar command is generally packaged into two types. Tar,. Tar.gz, I believe you have also used it.
Tar-zcvf test.tar test/
Tar-zcvf test.tar.gz test/
The two commands are: compress all the data in the test folder under the current folder to test.tar* and decompress it to test/
The decompression command is: tar-zxvf .tar tar-zxvf .tar.gz
2. Zip command compression command: zip-r test.zip test/
Extract command: unzip test.zip-extract to the current folder
3. Copy command cp test.zip / data/test-copy test.zip to / data/test
Cp-r test.zip / data/test-copy the test.zip overlay to / data/test / replace directly if there is a test.zip in the data/test path
4. Upload / download command rz upload will pop up a local window. Select a file and click OK to upload it.
Scp local file remote host user @ remote host IP: remote directory this command requires a password
5. The ftp command ftp 127.0.0.1 prompts for a user name or password
Download package: get * .tar.gz
Upload package: put * .tar.gz
Exit: bye
6. File weighting command chmod-R 755 filename
These are the Linux packaging commands that Xiaobian shared for you. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.