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

Re: How to scroll to end of command line history



On 5/19/09, Chris Tyler <chris tylers info> wrote:
> On Tue, 2009-05-19 at 12:31 +0100, Dan Track wrote:
>> On Tue, May 19, 2009 at 12:10 PM, Andras Simon <szajmi gmail com> wrote:
>> > On 5/19/09, Dan Track <dan track gmail com> wrote:
>> >> Hi,
>> >>
>> >> It's really annoying for me, that when I run "Ctrl+R" to search
>> >> through the history I end up finding my command but I'm stuck in the
>> >> history, how can I get to the end of the history with a keystroke.
>> >
>> > If you're using bash, and haven't changed the line editing mode, then
>> > M-> (that is, hold down Alt while pressing  the '>' key).
>> >
>> > Andras
>>
>> Thanks for that. I'm pressing alt+">" but nothing happens. Any ideas?
>
> You'll need the shift key in there too.

Yes. Without Shift it's not M-> (end-of-history) but M-.
(yank-last-arg). See man bash for details.

Andras


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