11:11 AM How to open a PDF file or a Postscript file in Linux - Evince Document viewer? |
Hello Linux Lovers
In this article we shall learn how to view/open a PDF file (*.pdf) or a postscript file (*.ps) in Linux system using commands.
This is quite simple. You can user Evince document viewer. Evince is document viewer capable of displaying multiple and single page document formats like PDF and Postscript. Syntax: evince [--help] [--usage] [--page-level=<level>] [filenames] See below example
And the above command 'evince filename.pdf' will open the pdf file in evince document viewer as below.
So, this is it! the similar way you can open a PS file as well. But this command will work when X session is enabled otherwise it will give below error:
So make sure you set the display bu using export command.
Or else you can use DISPLAY option of evince command. This is quite useful when we dont have acrobat reader or we need to open a pdf file directly from the Linux terminal or Putty. |
|
Related blogs
You may also like to see:
[2016-10-12] | [Open System-Linux] |
Remove Control M characters from a script or any file in Linux/AIX |
[2014-01-09] | [Open System-Linux] |
How to send a mail using unix/linux terminal? |
[2014-12-22] | [Open System-Linux] |
Key mapping inside VI editor |
[2014-02-23] | [Open System-Linux] |
lwp-download: A command in linux to downlaod large files from internet |
[2014-12-03] | [Open System-Linux] |
GREP command in Linux to search for a pattern |
Total comments: 0 | |