[kwlug-disc] command prompt history

Kyle Spaans 3lucid at gmail.com
Tue Mar 16 10:07:28 EDT 2010

On Mon, Mar 15, 2010 at 5:01 PM, Chris Irwin <chris at chrisirwin.ca> wrote:
> On Mon, Mar 15, 2010 at 16:54, Chris Frey <cdfrey at foursquare.net> wrote:
>>        !mysql
> Quick safety note: This will echo your last command *and* run it. So
> be careful if you're doing something weird like !rm

My safety net for this is to:
$ echo !cmd
then I can hit the up arrow and remove the "echo" part to get the command
if it is safe.

More information about the kwlug-disc mailing list