Hallo,
Paul Winkler hat gesagt: // Paul Winkler wrote:
Another great one is ^foo^bar^ which will repeat the
most
recent command but substitute the string "bar" for "foo". e.g.
pw@kermit pw $ find . -name "*pyc" -exec ls -l {} \; >>
stuff_of_interest
pw@kermit pw $ ^pyc^pyo^
find . -name "*pyo" -exec ls -l {} \; >> stuff_of_interest
(Notice that it only does one substitution on the line.)
Cool, I didn't know that last one. I constanly also use M-. to input
the previous last argument. And then there is
bash's programmable completion, which is way cool for example because
it can do:
$ ssh <TAB>
shell.sourceforge.net
shell2.sourceforge.net
...
ciao
--
Frank Barknecht _ ______footils.org__