how to open pdf in command lline code example Example: open a pdf on linux xdg-open <name-of-the-file-to-open>