~# gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf fileone.pdf filetwo.pdf
gs............................starts the Ghostscript program
-dBATCH.......................Exit after processing files
-dNOPAUSE.....................no user confirmation
-q............................no process messages
-sDEVICE=pdfwrite.............PDF format
-sOutputFile=finished.pdf.....specify output filename