Linux Journal tip
der.hans
PLUGd at LuftHans.com
Thu Sep 14 12:15:57 MST 2006
Am 14. Sep, 2006 schwätzte Shawn Badger so:
> I don't know how many of you receive this weekly newsletter from Linux
> Journal. They have a section called The Brain Trust which had a tip that
> I never heard of for searching the history in a Bash shell. Here is the
> excerpt from the newsletter:
>
> THE BRAIN TRUST: READERS SHARE THEIR EXPERTISE
>
> This week we have a contribution from Jim C.:
>
> "In the technical tips section of your newsletter on 9/5/06, you
> referred to
> Bret's alias for searching bash history. Why create an alias when
> bash
> gives the user the 'reverse-i-search' and 'forward-i-search'
> features?
These are emacs compatability features. Many other emacs commands work.
Well, until you fix bash by switching to vi compatability ;-).
I learned how to use vi on the command line, not in the editor.
ksh can use either mode as well. Anybody know if that's also true of zsh?
ciao,
der.hans
--
# https://www.LuftHans.com/ http://www.CiscoLearning.org/
# Join the League of Professional System Administrators! https://LOPSA.org/
# Whenever I hear anyone arguing for slavery, I feel a strong impulse to
# see it tried on him personally. -- Abraham Lincoln
More information about the PLUG-discuss
mailing list