View pdf file in terminal

pdfterminal

I want to view pdf files directly on our cluster rather than copying them to my local machine and then opening them in a viewer.

How can I view a pdf file in my terminal?

Best Answer

In many systems less uses lesspipe, which can handle pdftotext automatically. Therefore, you can immediately try

 less file.pdf

which will show the output of pdftotext in less.

Related Question