Concatenating multiple text files into a single file in Bash September 22, 2022 by Tarik This appends the output to all.txt cat *.txt >> all.txt This overwrites all.txt cat *.txt > all.txt