[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't the shell do a better job

* Karsten M. Self <kmself@ix.netcom.com> [05-01-04 06:36]:
> Sure, but reverse-search-history is probably what you want:
>    C-r<string>
> ...recalls the most recently occuring line matching <string>.
> Repeating the C-r (that's <ctrl>-r BTW) finds the next prior match.

if you often use the same command over and over again you can also

$ !<command>

This calls <command> with the arguments you used last time.

Dani Belz                                        http://dan-b.net
GPG EF658E3D | 6CD2 C40F 74A7 DFF6 FD29  7A31 2DE7 09CD EF65 8E3D

Attachment: signature.asc
Description: Digital signature

Reply to: