I've had success opening files from the command line if I know the program used to view the file. If I need to open a .pdf I can call evince filename
. What do you do if you don't know which program name opens a certain file type? Say I have a powerpoint slides I want to open? Is there a generic way in elementary OS freya to open files similar to Mac's open
command?
If you need a specific program name to open various types of files, is there a way on the command line to figure out what program will run what file type?