I'm have a file called t-0.8.eps.
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.
I'm have a file called t-0.8.eps.
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.
Files with the .eps extension are usually encapsulated postscript. You can view them with gv:
gv t-0.8.eps
Or with your favorite PDF viewer:
evince t-0.8.eps
Or even with an image editor
gimp t-0.8.eps
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 xdg-open.
Also, for your reference, you can try to find out what type of file a file really is (regardless of its extension) using the file command.