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?