Re: .bash_history

From: Ralph Katz (ralph.katz_at_rcn.com)
Date: 11/21/05

  • Next message: Heimdall Midgard: "Re: Alsa card activation order"
    Date: Sun, 20 Nov 2005 21:41:39 -0500
    To: debian-user@lists.debian.org
    
    

    On 11/20/2005 05:20 PM, Adam Hardy wrote:
    > I rely on .bash_history alot to remind me what command syntax to use - I
    > don't scroll back thro the history with the up button, I just grep the
    > .bash_history file for the command I want to run.
    >
    > This used to work until recently when I found that the .bash_history had
    > been transformed into a data file, instead of the ASCII text that I was
    > used to.
    >
    > I don't know what caused this. But I deleted the file and carried on.
    > For a while the .bash_history file returned as ASCII text, but now it's
    > happened again.
    >
    > What am I doing wrong?
    >
    >
    > Thanks
    > Adam

    Why not use control-r ? Does exactly that.

    >From man bash:
    > reverse-search-history (C-r)
    > Search backward starting at the current line and moving `up'
    > through the history as necessary. This is an incremental
    > search.

    Regards.

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Heimdall Midgard: "Re: Alsa card activation order"