I'm have a file called
How can I open this file in the shell?
I am using Mac and when I click
.eps files the preview (the name of the software to read PDFs) says failed.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
In general, you can use
open from the terminal to open any file with its default application (see this SO question).
open is Mac OS-specific. On GNU/Linux, the equivalent is usually
Also, for your reference, you can try to find out what type of file a file really is (regardless of its extension) using the
Files with the
.eps extension are usually encapsulated postscript. You can view them with
Or with your favorite PDF viewer:
Or even with an image editor
Inkscape can open and edit eps files. It won't fix an empty file though.