Linux - change history size / filesize via commandline / .bashrc

Commandline:

HISTSIZE=9999;HISTFILESIZE=9999

 

/root/.bashrc

/path/to/user/.bashrc

HISTSIZE=9999
HISTFILESIZE=9999

 

 

Change it globally:

/etc/bash.bashrc.

HISTSIZE=9999

HISTFILESIZE takes its value from HISTSIZE, if HISTFILESIZE is not set.

 

No limit:

HISTSIZE=-1
HISTFILESIZE=-1

 

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare