gio open file.pdf

Category: Administration

gio open file.pdf

Open a file with the default application

gio open launches the default application registered for the file's MIME type, exactly like double-clicking in the file manager. It respects the same associations as xdg-open. From a terminal it works with any MIME-registered file type.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.