11 P I C K U N I X P I C K P I C K s o r t uniq join cut paste split 11.1 sort s o r t s o r t U N I X 11.1.1 U N I X / L I N U X s o r t s o r s o r t s o r t s o r t s o r t s o r t s o r t u n i q j o i n c u t p a s t e s p l i t s o r t 11.1.2 sort s o r t sort -cmu -o output_file [other options] +pos1 +pos2 input_files s o r t -c -m -u -o s o r t
11 105 -b -n -t t a b -r +n n n n + post1 m n m n 4 6 5 7 11.1.3 - o r e s u l t s. o u t 11.1.4 sort s o r t - s o r t - t 0 1 s o r t v i d e o. t x t 1 2 3 4 - t 11.1.5 sort s o r t 0 1 s o r s o r t 0 1 11.1.6 30 40 s o r t - c
106 s o r t 11.1.7 sort s o r t sort filename 0 s o r t s o r t 11.1.8 sort s o r t - r s o r t 0 11.1.9 2 1 t 1 2 3 11.1.10 t 3
11 107 - n - n 3 2 t 3 The Hill s o r t 3 - n A l i e n s - r A l i e n s 11.1.11 - u A l i e n A l i e - u s o r t
108 11.1.12 k sort s o r t k 1 1 1 s o r t k 1 - k 4 11.1.13 k 4 1 -k4 -k1 11.1.14 sort - n s o r t 0 2 3 11.1.15 pos f i e l d _ n u m b e r c h a r a c t e r s _ i n
11 109 + 1. 2 1 3 11.1.16 head tail s o r t 4 - k 4 s o r t h e a d head -1 t a i l h e a d 1 2 tail -1 s o r t t a i l h e a d t a i l h e a d Ta i l h e a d t a i l 10 20 7 11.1.17 awk sort s o r t a w k s o r t a w k
110 11.1.18 sort -m sorted_file1 sorted_file2 -m +o v i d e o. s o r t + o 11.2 sort s o r t / e t c / p a s s w d 1 a w k a w k s o r t d f d - b 4 + 4 I P I P I P
11 111 I P 3 11.3 uniq u n i q u n i u n i q s o r t s o r t u n i q u n i q u n i q May Day 4 May Day u n i q -u -d -c -f n n - f - n m y f i l e. t x t u n i q 5 May Day sort -u May Day Going Down
112 - c May Day 1. - d 2. - n - 5 5 1 1 2 - n 2 u n i q 1 u n i q O P - f 11.4 join j o i n S Q L j o i n j o i n f i l e 1 f i l e 2 j o i n t a b j o i n 20 2 D B M S j o i n
11 113 an n n - a 1 - a 2 o n.m n m 1. 3 1 n m 1. 3 2. 1 j n m n m t t a b - t n a m e. t x t t o w n. t x t M. G o l l s 12 Hidd Rd 0 j o i n j o i n 1. j o i n - a P. H e l l e r 2. - o j o i n 1. 1 2. 2
114 -jn m 1 3 2 p e r s I D p e r s 2 I D p e r s 4 p e r s 2 2 j o i n 4 j o i 5 a w k $ awk '{print $4}' 11.5 cut c u t c u t cut [options] file1 file2 -c list -f field -d t a b - c - c 1 5-7 1 5 7 -c1-50 50 -f - c -f 1 5 1 5 - f 1 10-12 1 10 12 p e r s ' p e r s '
11 115 11.5.1 - d - d 3 - f 3 I D 11.5.2 c u t 1 3 I D / e t c / p a s s w d 1 3 - c c u t ls -l - c ls -l cut -c1-10
116 11.6 paste c u t p a s t e p a s t e p a s t t a b - d p a s t e paste -d -s -file1 file2 -d t a b @ - d -s - ls -l paste p a s t e 11.6.1 11.6.2 t a b - d - s I D
11 117 11.6.3 paste p a s t e - - 4 11.7 split s p l i t v i s o r t s p l i t split -output_file-size input-filename output-filename o u t p u t - f i l e - s i z e s p l i t o u t p u t - f i l e - s i z e 1000 2800 3 1000 1 000 8 00 x [ a a ] x [ z z ] x [ a a ] [ z z ] b i g o n e. t x t 2 800 s p l i t o u t p u t - f i l e - s i z e 6
118 2 6 s p l i t 11.8 s o r t j o i n s p l i t u n i q c u t p a s t e