[ale] Bash history

Tejus Parikh tejus at vijedi.net
Wed Nov 30 11:08:38 EST 2005


pressing "ctrl+r" will let you search through your current history.  
For example, typing "mo" will show the last command you entered 
containing "mo" (eg, "mount", "something | more", etc.).  Pressing 
enter will run the command, esc will put the command on the command 
line so you can edit it.  Backspace also does something, but I'm not 
sure exactly what.

Tejus

Quoting Christopher Fowler <cfowler at outpostsentinel.com>:

> On Wed, 2005-11-30 at 07:58, Mike Harrison wrote:
>> On Wed, 30 Nov 2005, Christopher Fowler wrote:
>>
>> > 683 is simply the line number in the history file.  One must read their
>> > file first or read the output of the history command to know what
>> > command is associated with 683
>>
>> That could really REALLY suck if you used the wrong
>> line number and that line was: "rm -r -f *"  or worse..
>>
>
> Whats the point?  UNIX does exactly what you want it to do.  It would
> suck if I typed the wrong arguments to rm or did rm -rf in the wrong
> directory.
>
>>
>>
>>
>>
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://www.ale.org/mailman/listinfo/ale
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>




More information about the Ale mailing list