Need Script to copy the contents of two files into one file

Hi
i need Script to copy the contents of two files into one file

i have 2 fil X1.txt / X2.txt i need script to copy the contents of X1 and X2 In AllXfile

X1.txt

File X1

X2.txt

File X2

AllXfile.txt

File X1
File X2
( cat X1.txt; cat X2.txt) >> AllXfile.txt
1 Like
cat X1.txt X2.txt >> AllXfile.txt