by shigemk2

当面は技術的なことしか書かない

catでファイルを連結させてみる

vagrant@precise64:~$ nl file1.txt 
     1	111
     2	222
     3	333
     4	333
     5	222
     6	111
vagrant@precise64:~$ nl file2.txt 
     1	444
     2	555
     3	666
vagrant@precise64:~$ cat file1.txt file2.txt > file3.txt 
vagrant@precise64:~$ nl file3.txt 
     1	111
     2	222
     3	333
     4	333
     5	222
     6	111
     7	444
     8	555
     9	666

出典については…気にするな!