$ cat file1 Jialiu age 15 Zhangsan age 14 Lisi age 15 Wangwu age 16 $ cat file2 Zhangsan score 80 Lisi score 90 Wangwu score 85 Jialiu score 88 $ join file1 file2 join: file1:3: is not sorted: Lisi age 15 join: file2:2: is not sorted: Lisi score 90 Zhangsan age 14 score 80 Lisi age 15 score 90 Wangwu age 16 score 85 $ join file2 file1 join: file2:2: is not sorted: Lisi score 90 join: file1:3: is not sorted: Lisi age 15 Zhangsan score 80 age 14 Lisi score 90 age 15 Wangwu score 85 age 16