To merge the following two files, merge them together and merge them into 1.txt # 1.txt Jerry 20 Alice 30 David 40 # 2.txt Jerry man Alice woman David 40 Merged 1.txt
The above files have the same characteristics, so they are merged, and the second column is missing. At this time, using join -a1 1.txt 2.txt can achieve the purpose well. [root@host ~]# join -a1 1.txt 2.txt Jerry 20 man Alice 30 woman David 40
Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links You may also be interested in:
|
>>: Detailed explanation of the fish school algorithm in CocosCreator game
This article uses examples to illustrate the simp...
Correct answer Using useRouter : // router path: ...
Table of contents Overall Effect Listen for conta...
The day before yesterday, I encountered a problem...
Readonly and Disabled both prevent users from cha...
Sample code: import java.util.Random; import java...
Development Trends: html (Hypertext Markup Languag...
Use vite to build a vue3 project You can quickly ...
Overview This article will introduce the MVC arch...
When server B (172.17.166.11) is powered on or re...
About Nginx, a high-performance, lightweight web ...
This article uses examples to illustrate the diff...
Table of contents Preface 1. Why do we need bread...
In the previous article, we introduced three comm...
As the application of centos on the server side b...