In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Most people do not understand the knowledge of this article "how to use the Linux join command", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to use the Linux join command" article.
Linux commonly used command join command is used to connect lines in two files that have the same field content. Find the lines in the two files that specify the same field content, merge them, and then output them to the standard output device.
Join concatenates lines with the same field contents in two files
Syntax join (option) (parameter) option-a: displays lines in the instruction file that do not have the same field in addition to the original output;-e: if the specified field cannot be found in [file 1] and [file 2], fill in the string in the option in the output;-I or-- ignore-case: ignore the difference in case when comparing field contents -o: display the results in the specified format;-t: use the split characters of the field;-v: more-an is the same, but only show lines in the file that do not have the same field;-1: connect the field specified in [file 1];-2: connect the field specified in [file 2]. Parameter file 1: the first file parameter to merge
File 2: the second file parameter to merge.
The above is about the content of this article on "how to use Linux join commands". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please 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.