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