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:
Next open the file you want to view using lynx:
You can also convert a pdf to text using pdftotext, which is a command-line tool to convert pdf files into text files.
You can then open the text file using vim: