[colug-432] Search Command History
Jeff Frontz
jeff.frontz at gmail.com
Tue Feb 11 10:13:07 EST 2014
On Tue, Feb 11, 2014 at 6:41 AM, Steve VanSlyck <s.vanslyck723 at gmail.com>wrote:
> It's easier to press one arrow key a few times than to type out a command
> phrase.
>
It's way easier for a touch-typist to keep your fingers on/close to the
home-row and hit "escape-K-K-K-K" than to take your hand off (and probably
eyes away from the screen) and go find the arrow keys.
Note that most of the comments in this thread apply to "bash" (and to some
degree to ksh) in "emacs" mode. If you'd rather use the one, true editor
(and save stress on your pinky) for CLI editing, you can do "set -o vi".
Note also that ksh always writes history to the history file -- this is
especially useful when you share the history file across windows/shells so
that you can use/edit the same command in another window and run it
again/concurrently (e.g., to run the same thing in another directory or on
a different set of parameters).
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20140211/3deceb94/attachment-0001.html
More information about the colug-432
mailing list