I have got two files named file1.txt and file2.txt.
file1.txt :
Tom
Harry
Martin
job
Kevin
file2.txt :
Samson
Edward
Thomas
Wilco
Mergefiles.txt:
Tom
Harry
Martin
job
Kevin
Samson
Edward
Thomas
Wilco
I am using "cat" to merge these files but would like to know if this a good approach or can be done using awk command. pLease help.
cat file1.txt file2.txt > mergefiles.txt