Repeating Commands in Bash
Dec 04, 2009, 16:01 (0 Talkback[s])
(Other stories by Sandra Henry-Stocker)
[ Thanks to Amy
Bennett for this link. ]
"Whether you page back through your history with
repetitions of up arrow presses or reuse commands by typing an
exclamation point followed by the first few letters of the
previously entered command, you can work faster and feel less
annoyed by these useful time saving features of the Unix shell.
"Bash, however, has a feature called "history mode" that takes
your reuse of previously entered commands to new heights. You enter
history mode by typing ^r (hold control key and press the letter
"r"). You will see something like this:
(reverse-i-search)`':
Complete Story
Related Stories:
- More Fun With Bash Quoting(Nov 24, 2009)
- Tech Tip: Find Directories Over a Certain Size(Nov 17, 2009)
- 10 Special Linux Distributions That You Should Know(Nov 17, 2009)
- Command line tricks for smart geeks(Nov 17, 2009)
- Speaking UNIX: Peering into pipes(Nov 04, 2009)
- Useless Linux Terminal Commands(Oct 21, 2009)
- Getting comfortable with Linux plumbing(Oct 16, 2009)
- What makes Ubuntu so user friendly?(Oct 07, 2009)
- Advanced Tips for Search-and-Replace in Linux(Sep 29, 2009)
- From the archives: the best text editors of 2000(Sep 21, 2009)