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