[kwlug-disc] command prompt history

Chris Bruner cbruner at quadro.net
Mon Mar 15 16:26:31 EDT 2010


Insurance Squared Inc. wrote:
> What's the command to browse your command line history, based on the 
> first letter of the command?
>
> i.e. I'm at a command prompt and want to get the last 'mysql' command 
> I typed in.
> I know it's possible, I don't even know what the heck I'd google :).
Most bash have a history lookup.
ctrl-R mysql
will find the last mysqsl command.




More information about the kwlug-disc mailing list