Extract pages from PDF in Linux

I am not usually have to extract pages from a pdf file, but when I do, I used Adobe(R) Acrobat 7.0 that resides on my old Windows XP machine (believe me, it’s still work at this time). Today one friend asked me to extract a page from his pdf file, and I only have my MAC and Linux workstation with me. Fortunately, I figured out I can just use a single command to do this. Kudos to pdftk. For example: pdftk A=inputfile.pdf cat A1-10 output outputfile.pdf This command will extract page 1 to 10 from inputfile.pdf to outputfile.pdf Very handy. Happy extracting!