Home » 2015 » August » 18 » How to open a PDF file or a Postscript file in Linux - Evince Document viewer?

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.


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:

shankar@shankar-desktop ~ $ evince
Cannot parse arguments: Cannot open display:


So make sure you set the display bu using export command.

shankar@shankar-desktop ~ $ export DISPLAY=
shankar@shankar-desktop ~ $


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.


Category: Open System-Linux | Views: 1341 | Added by: shanky | Tags: open a pdf file., how to open pdf file in Linux, evince document viewer, evince, how to open postscript file in linu, how to open a pdf file in unix | Rating: 0.0/0

Related blogs

You may also like to see:

[2014-01-09][Open System-Linux]
How to send a mail using unix/linux terminal?
[2015-05-25][Open System-Linux]
Password-less Login to Linux/Unix Servers in Putty
[2015-07-18][Open System-Linux]
Creating and Managing Logical Volume Manager in Linux
[2014-09-26][Open System-Linux]
Traceroute command in Linux
[2014-04-10][Open System-Linux]
SED command for filtering and transforming texts of a file using regular expression

Total comments: 0