How do I invoke a text editor from the terminal? February 4, 2023 by Tarik open -e <filename> The option -e is used to open the file <filename> with TextEdit.