Eu uso nano <file_name>
para abrir / editar arquivos no terminal. No entanto, é muito difícil de editar, então existe uma maneira de abrir arquivos de terminal no TextEdit?
EDITAR:
open -a TextEdit <my_file_name>
e open -a TextEdit
retornam isso:
open: invalid option -- 'a'
Usage: open [OPTIONS] -- command
This utility help you to start a program on a new virtual terminal (VT).
Options:
-c, --console=NUM use the given VT number;
-e, --exec execute the command, without forking;
-f, --force force opening a VT without checking;
-l, --login make the command a login shell;
-u, --user figure out the owner of the current VT;
-s, --switch switch to the new VT;
-w, --wait wait for command to complete;
-v, --verbose print a message for each action;
-V, --version print program version and exit;
-h, --help output a brief help message.
open -e <my_file_name>
retorna:
Couldn't get a file descriptor referring to the console