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