Let's assume that I've got two text file a, b.
$cat a
a a
a a
a a
$cat b
b b
b b
b b
Then, I want to merge these two file vertically by using paste. The merged file is shown bellow
a a
a a
a a
b b
b b
b b
NOT
$paste a b > AB
$cat AB
a a b b
a a b b
a a b b
paste -sd '\n' a b
– cuonglm Jan 17 '17 at 09:58cat a.txt b.txt
? To edit your question just press edit under your question – George Vasiliou Jan 17 '17 at 09:59cat
is short for concatenate. – ctrl-alt-delor Jan 17 '17 at 10:05