Linux: How can I convert a series of images to a PDF from the command line on linux?

1. Use Image Magic application.
a) Package in most Linux distributions.
b) Install package
robert$linux~$ sudo apt-get install imagemagic
c) download application ImageMagic
http://www.imagemagick.org/

2. Convert image_1.jpg, image_2.jpg, image_3.jpg to document.pdf.
robert$linux~$ convert page*.png mydoc.pdf