On a debian system, you need the pdftk package:
pdftk
sudo aptitude install pdftk
Then supposing you have to concatenate in1.pdf and in2.pdf into out.pdf, just type this command:
in1.pdf
in2.pdf
out.pdf
pdftk in1.pdf in2.pdf cat output out.pdf
Discussion