0

This question already has an answer here:

How can I open a file with another program than the default one with a command line in the terminal?

For example I want to open a PDF. To open it with the default PDF viewer I just write xdg-open theFile.pdf, but if I want to open it with "okular" for example, what command should I write?

marked as duplicate by dessert command-line Dec 20 '18 at 7:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.