[kwlug-disc] command prompt history

Raul Suarez rarsa at yahoo.com
Tue Mar 16 10:30:12 EDT 2010

If you are at the command line you can type Ctrl-R and start typing the command. It will do a reverse search.

Another way I use is to open the ~\.bash_history file which contains the list of commands.

Raul Suarez

Technology consultant
Software, Hardware and Practices
An eclectic collection of random thoughts

--- On Mon, 3/15/10, Insurance Squared Inc. <gcooke at insurancesquared.com> wrote:

> From: Insurance Squared Inc. <gcooke at insurancesquared.com>
> Subject: [kwlug-disc] command prompt history
> To: "KWLUG discussion" <kwlug-disc at kwlug.org>
> Received: Monday, March 15, 2010, 2:27 PM
> 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 :).
> _______________________________________________
> kwlug-disc_kwlug.org mailing list
> kwlug-disc_kwlug.org at kwlug.org
> http://astoria.ccjclearline.com/mailman/listinfo/kwlug-disc_kwlug.org

Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now

More information about the kwlug-disc mailing list