December 8th, 2008
The Archives
-
12.08.08Ctrl-X-EWith this keystroke combination, you open the editor specified by the $EDITOR variable (or emacs if the variable is not set). Once you write the file and quit, bash will execute the commands written in the editor. This is especially useful when you want to write a small script.