I want to see pdf files available on our cluster rather than copying them into my local machine and than visualize. Please tell me how can i do this.
|
|
In many systems less uses lesspipe, which can handle pdftotext automatically. Therefore, you can immediately try
which will show the output of |
|||||
|
|
|
I guess, it is not possible to see PDF file in terminal but you can check it's content by converting PDF file to text. You can do this as:
It will produce a.txt file which you can read into VIM. For ubuntu-variant, this binary is available in following package.
|
|||
|
|
|
Thanks for the answer mentioning lesspipe; when I want to "view a pdf file in terminal", that for me means that I want to actually see an uncompressed PDF, obtained via, say:
... and then, I always wondered why both Well, that happens because of the lesspipe assuming I want
And finally, I can view the uncompressed PDF code using Cheers! |
|||
|
|
|
One more solution is to use command gnome-open
Provided that you have login your server with -X option (ssh -X) |
|||||||
|
