open pdf file in terminal ubuntu code example Example 1: open pdf command line linux xdg-open file2open.xxx Example 2: open pdf in unix xdg-open file2open.xxx