linux merge two pdfs

Shell
pdfunite file1.pdf file2.pdf merged.pdf
Source

Also in Shell: