Results 1 to 8 of 8
Hi,
I would like to know which is the file that store the used or typed command, the same one when you press arrow up in command line
Thank you...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-06-2010 #1Just Joined!
- Join Date
- Mar 2010
- Posts
- 13
old command used or typed is stored where
Hi,
I would like to know which is the file that store the used or typed command, the same one when you press arrow up in command line
Thank you
- 05-06-2010 #2Just Joined!
- Join Date
- May 2007
- Posts
- 72
Hi,
If you only want to see what commands you have used in the past, the command history will do it.
I don't know where they are stored though.
- 05-06-2010 #3Linux User
- Join Date
- Nov 2009
- Location
- France
- Posts
- 292
~/.bash_history
0 + 1 = 1 != 2 <> 3 != 4 ...
Until the camel can pass though the eye of the needle.
- 05-06-2010 #4Just Joined!
- Join Date
- Mar 2010
- Posts
- 13
Can I delete that history or edit it, what is the limite of that history
thanks a lot
- 05-06-2010 #5Linux User
- Join Date
- Nov 2009
- Location
- France
- Posts
- 292
You may delete or edit that file as any other regular file. For konsole application, the default is to store 1000 commands, which you can modify. I don't know if that limit is set by konsole or bash itself.
0 + 1 = 1 != 2 <> 3 != 4 ...
Until the camel can pass though the eye of the needle.
- 05-07-2010 #6
The history size is set by the shell. For Bash, it's set by the HISTSIZE variable in either .bash_profile or .bashrc.
- 05-07-2010 #7Just Joined!
- Join Date
- Mar 2010
- Posts
- 13
thank you, but how it is the units, I mean, by lines? (1000 lines) or by file zie(250000b) HITSIZE=?
- 05-07-2010 #8
Number of lines.


Reply With Quote
