How to open a pdf file from your console in Linux:
As far as I know there is no console based pdf viewer, but you can use the following trick to open a pdf file:
I’m using a Red Hat Fedora 10,
First of all install pdftohtml- a command line tool to convert pdf files into html and to other formates.
#sudo yum install pdftohtml
Next install lynx which is a command line html viewer.
#sudo yum install lynx.i386
Next convert the file you want to view into html using:
#pdftohtml ch.01.pdf
Next open the file you want to view using lynx:
#lynx ch.o1.html
You can also convert a pdf to text using pdftotext, which is a command-line tool to convert pdf files into text files.
#pdftotext ch01.pdf
You can then open the text file using vim:
#vim ch01.txt