Use cat
:
cat file1.txt file4.txt
como eu poderia juntar dois arquivos como este
file1.txt
:
ROW 1 3 5 654 56 5 56 65 6 54 4 3345 35 53 3 32 2 1
ROW2 6 65 456 67 687 78 89 657 435 34 534 5 435 5 2
file4.txt
:
01010100000000000000000000000000000101010001010
1111111111111111111100100101000101001000000000
01000000000000000000000000000000000000000000000
para:
ROW 1 3 5 654 56 5 56 65 6 54 4 3345 35 53 3 32 2 1
ROW2 6 65 456 67 687 78 89 657 435 34 534 5 435 5 2
01010100000000000000000000000000000101010001010
1111111111111111111100100101000101001000000000
01000000000000000000000000000000000000000000000
Use cat
:
cat file1.txt file4.txt
usando o gato :
cat file1.txt file4.txt > output.txt
Saída:
$ cat output.txt
ROW 1 3 5 654 56 5 56 65 6 54 4 3345 35 53 3 32 2 1
ROW2 6 65 456 67 687 78 89 657 435 34 534 5 435 5 2
01010100000000000000000000000000000101010001010
1111111111111111111100100101000101001000000000
01000000000000000000000000000000000000000000000
Se você não quiser criar um novo arquivo com facilidade:
cat file1.txt >> file4.txt
Saída:
$ cat file4.txt
ROW 1 3 5 654 56 5 56 65 6 54 4 3345 35 53 3 32 2 1
ROW2 6 65 456 67 687 78 89 657 435 34 534 5 435 5 2
01010100000000000000000000000000000101010001010
1111111111111111111100100101000101001000000000
01000000000000000000000000000000000000000000000