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?
okular theFile.pdf
– PerlDuck Dec 18 '18 at 13:17man PROGRAM_NAME
, e.g.man okular
, provides syntax information like that. – dessert Dec 18 '18 at 13:21