Results 1 to 8 of 8
history command gives me last 1000 executed commands only...how to increase this limit ???(to view last 2000 or 3000 commands)...
- 07-19-2007 #1
history command
history command gives me last 1000 executed commands only...how to increase this limit ???(to view last 2000 or 3000 commands)
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 07-19-2007 #2
(I am assuming you are in a bash environment...)
hint: HISTSIZECode:man bash
- 07-20-2007 #3
hi,
i tried this.
set history=2000
but when i close the terminal,
history limit reset to default 1000...i tried to look in bash man ....yet to find the soultion- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 07-24-2007 #4
Try placing a line in '~/.bashrc' that sets 'HISTSIZE' to 2000, and see if that works for you...
- 07-24-2007 #5
how to set that i tried this .
$HISTSIZE = 2000
not working when i invoke terminal ,
it says
bash: 1000: command not found- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 07-24-2007 #6
- 07-24-2007 #7
thanks codeRoot ...it works perfectly
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 07-24-2007 #8


Reply With Quote

