paperlined.org
rosetta_stone > shell
document updated 11 years ago, on May 18, 2013

How do you open the current the command line in a full-fledged editor?

Ksh

fc

(however, $FCEDIT must be set to a valid editor)

Bash

In Emacs mode: Ctrl-X Ctrl-E

In Vi mode: <esc> v

Bash also has an fc command.