Install unoconv
unoconv -d document -f pdf file.doc
Change "file.doc" to the name of your document. Note you could specify *.doc and it will convert all .doc's in the current directory to pdf which is very handy.
unoconv uses the cli from OpenOffice to do this, OpenOffice actually doesn't have an easy way I've found of doing this despite it having the functionality.
linux, openoffice, convert, documents, pdf, format, unoconvinstall, unoconv, quot, specify, directory, cli, doesn, ve, functionality,