Command Line – Best PDF Viewer for Command Line Only

command linepdf

Is it possible to view pdf documents without having gdm (or similar) running?

Rationale: I'm working on a remote server (assume no X forwarding) processing some data, creating some plots (assume pdf files). And I would like to view them without having to scp and open them on my machine. (There may be other use cases, probably.)

Best Answer

Not a real viewer, but as first aid a converter may also help:

pdftotext file.pdf - | less

pdftohtml -stdout -i file.pdf | lynx -stdin

pdftotext and pdftohtml are part of the Poppler package.

Related Question