Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] diffstat, Ctrl-R, pushd/popd


With bash:-

My typing is pretty poor, and I make a lot of typos

The substitution feature is some thing I use really frequently

so I type
:>: scream   (oops)

>: ^am^en
screen           (yay)


On 09/02/2005, at 11:03 PM, Gottfried Szing wrote:

1/ Ctrl-R history searching

When using the shell you pretty quickly work out that pressing up will search backwards through you history, however it tooks me ages to find
out that you could search backs through the history by typing Ctrl-R
and a search string.

One of my favourite is M-.  (thats alt or maybe windows key and
full-stop)

That will cycle through the last word on the last commands.

for those who are using the bash a nice list of shortcuts:

http://hajek.stat.ubc.ca/~harry/local/bash.html

cu

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html