To concatenate two or more PDF files together into one, try
# gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=concatenated.pdf file1.pdf file2.pdf [file3.pdf [...]]
With the -dBATCH -dNOPAUSE option, ghostscript won’t show a prompt and you won’t have to press return after each page. Comes in handy if the PDFs are long.