LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Changing history (https://www.linuxquestions.org/questions/linux-general-1/changing-history-425513/)

linux_dummy 03-16-2006 04:34 PM

Changing history
 
I am wanting to change the amount of history stored when typed history to more than the default 10 on users other than root. how is this accomplished...or is it? i am wanting the history to show like root's in the fact that it is the past 1000 commands entered.

J.W. 03-17-2006 02:36 AM

In order to control the number of entries in history, you just need to adjust the HISTSIZE parameter. There's a very good bash guide here and you probably would be most interested in the History section. Please also see man bash for more detail.

Welcome to LQ!


All times are GMT -5. The time now is 06:40 PM.