kobedf 0 Posted December 5, 2004 i'm sorry if i'm iritating you with all those questions ....but......i need help thanks egorgry for your help one more when using a terminal ...suppose i run a program (say ./P ) 10 times...than when i try to get through the list of the recently used commands with the UP and DOWN arrows i find ./P placed there 10 times. I'll try to change this myself , but i need to know what file i should modify ...or how can i access the shell buffers. thanks Share this post Link to post
egorgry 0 Posted December 5, 2004 teh commands are kept in your .bash_history file. you can addd this line to your .bashrc file to ignore dups # don't put duplicate lines in the history. export HISTCONTROL=ignoredups Share this post Link to post
Cardinal 0 Posted December 14, 2004 Another way is just edit your bash profile and set the buffer to 1000 lines for example, then tell it to load your profile by default Share this post Link to post