Re: .bash_history

From: Adam Hardy (adam.ant_at_cyberspaceroad.com)
Date: 11/22/05

  • Next message: Joseph H. Fry: "Re: how do i control file ownership in usbmount?"
    Date: Tue, 22 Nov 2005 00:07:25 +0000
    To: debian-user@lists.debian.org
    
    

    Roberto C. Sanchez on 21/11/05 22:30, wrote:
    > On Mon, Nov 21, 2005 at 10:00:33PM +0000, Adam Hardy wrote:
    >
    >>thanks for the tips about C-r Is there some sort of documentation on this? I'd
    >>like to see how much history it keeps. It's a seperate program from history,
    >>right?
    >>
    >
    > HISTSIZE
    > The number of commands to remember in the command history (see
    > HISTORY below). The default value is 500.
    >
    > [...]
    >
    > To find other matching entries in the history list, type Control-S or
    > Control-R as appropriate. This will search backward or forward in the
    > history for the next entry matching the search string typed so far.
    > Any other key sequence bound to a readline command will terminate the
    > search and execute that command. For instance, a newline will termi-
    > nate the search and accept the line, thereby executing the command from
    > the history list.

    OK thanks.

    I assume that my .bash_history gets converted to binary at some point by
    bash. I can see that bash is using .bash_history now, but it's not clear
    why the file should become binary on my system.

    Adam

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

  • Next message: Joseph H. Fry: "Re: how do i control file ownership in usbmount?"

    Relevant Pages

    • Re: HOWTO enter Ctrl-S to BASH from console
      ... those keys for something else... ... ^S would normally invoke to some other keys in bash. ... After reviewing your bug report I'll ask the dumb question: ... entries forward of your current one in the history that matched what you ...
      (Debian-User)
    • Re: Switching from tcsh to bash as an interactive shell
      ... >> Anyone care to clue me in as to some of the neato features bash has over ... But isn't that what tcsh does? ... I have never been able to make out how bash history ... Bits of command appear and disappear, and I don't know if one ...
      (comp.os.linux.misc)
    • Re: bash history search key binding
      ... maybe your bash history was accidentally reset.. ... or lost its cd* commands .. ... will display the cd commands in your current history.. ... Maybe I should try reassigning the backward search command to CTRL-R for a while and see if it has any limitations that I didn't notice while experimenting.. ...
      (Debian-User)
    • Re: bash history
      ... I notice that bash doesn't save every command ... immediately and loses the history from simultaneous bash sessions, ...
      (Debian-User)
    • Re: OT: Indoor skydiving
      ... > terferger@xxxxxxxxx Ferger says... ... >> Bear secured a place in history by writing: ... I'm having a bash at it. ...
      (uk.rec.motorcycles)