How to join two or more PDF files into one.

Hello linux users: in this post I will show how to join two or more PDF files into one. You will have to install the
Ghostscript driver using the following commands in your terminal (** On Debian based distros):

apt-get install gs
apt-get install pdftk

Now we join the PDFs with this command:

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=unidos.pdf file1.pdf  file2.pdf

Here is the explanation of command:

You can also join all PDF files in a directory by providing *.pdf as the input files.