emacs

File Read

emacs /path/to/input-file

File Write

emacs /path/to/output-file
DATA
C-x C-s

Shell

emacs -Q -nw --eval '(term "/bin/sh")'