Re: Linux Journal tip

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
To: Main PLUG discussion list
Subject: Re: Linux Journal tip
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
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss