terminal open file text code example Example 1: open text file debian vim RESULTS.txt Example 2: how to open file in linux xdg-open <filename>