What is the fastest command line way to merge the different lines of files? For example, I have two files:
a.txt:
foo
bar
foobar
b.txt
foo
foobar
line
by
bar
And I would like to get the following output:
foo
bar
foobar
line
by
Is there any fast way to merge files like the example above? (The order of the lines isn't important)