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