On Fri, 3 Jun 2005, Dr.Beco wrote:

> Sabem o arquivo ~/.bash_history que armazena os comandos que a gente digita...
> Como eu faço para aumentar o limite de tamanho dele de 1.000 linhas para, por
> exemplo, 10.000 ?

Na d�, leia o manual.

BASH(1)                                                        BASH(1)

NAME
    bash - GNU Bourne-Again SHell

(...)

    HISTFILESIZE
      The maximum number of lines contained in the history file.  When
      this variable is assigned a value, the  history  file  is  trun-
      cated,  if  necessary,  to  contain  no more than that number of
      lines.  The default value is 500.   The  history  file  is  also
      truncated  to  this  size  after  writing it when an interactive
      shell exits.



---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a