What's the command that, given a document name, will open it with the right application (i.e. an equivalent to windows start / mac os x open)
Asked
Active
Viewed 190 times
2
-
By "document" I meant any non-executable file, including PNG, MP3, or whatever – Matt Gregory Jun 21 '14 at 15:35
2 Answers
9
Try xdg-open file
this should open the file with the correct program, that is defined via mimetypes

Florian Diesch
- 87,389

wa4557
- 900
0
I think you mean Document Viewer. The command name is evince
. Optionally with filename as argument. More at manpage.