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