open a new text file linux terminal code example Example: how to open file in linux xdg-open <filename>