LWN.net Logo

CLI Magic: Using command history in the bash shell (Linux.com)

CLI Magic: Using command history in the bash shell (Linux.com)

Posted Jul 4, 2006 8:27 UTC (Tue) by abovett (subscriber, #13139)
In reply to: CLI Magic: Using command history in the bash shell (Linux.com) by sveinrn
Parent article: CLI Magic: Using command history in the bash shell (Linux.com)

Not quote the same, but try <ctrl>-R, then type some characters - which will recall the first command that _contains_ those characters. Then hit <ctrl>-R repeatedly until you get to the command you want. Hit Enter to execute it, or Esc to recall it to the current line for further editing.

HTH


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds