In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Today, what the editor shares with you is the use of linux's split command for file segmentation. I believe many people do not know much about it. In order to make you understand better, I have summarized the following contents for you. Let's look down together. I'm sure you'll get something.
The split command splits a large file into smaller files, which by default will be cut into small files for every 1000 lines.
Syntax format: split [parameters] [cutting file] [file name]
Common parameters:
-b specifies how many bytes to cut into a small file-- help view help information-- version displays version information-- C is similar to the parameter "- b", but will try to maintain the integrity of each line when cutting.
Reference example
Cut the file "README" into one file every six lines:
[root@linuxcool] # split-6 README so much for file segmentation using linux's split command. I hope the above content can be used as a reference for all of you. If you like this article, you might as well share it for more people to see.
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.