View previous topic :: View next topic |
Author |
Message |
softwind Tux's lil' helper
Joined: 03 Jul 2006 Posts: 90
|
Posted: Sat Feb 10, 2007 6:51 am Post subject: bash not recording history |
|
|
I have set WM to start up my console when I start x.
I can access the history commands of start up console with the up and down arrows. But it would not record the history commands into ~/.bash_history!
However, it would record when I open another console and do some commands.
But I would like to know how I can get the start up console to record into .bash_history, because that is the one I use. |
|
Back to top |
|
|
ekutay l33t
Joined: 30 Mar 2005 Posts: 636 Location: Berlin
|
Posted: Sat Feb 10, 2007 4:00 pm Post subject: |
|
|
Do you have a HISTFILE variable set?
If not, open the man page and search for it. It is self explained then. _________________ -- erol |
|
Back to top |
|
|
softwind Tux's lil' helper
Joined: 03 Jul 2006 Posts: 90
|
Posted: Sat Feb 10, 2007 4:21 pm Post subject: |
|
|
Yes.
Code: | /home/username/.bash_history |
|
|
Back to top |
|
|
ekutay l33t
Joined: 30 Mar 2005 Posts: 636 Location: Berlin
|
Posted: Sun Feb 11, 2007 9:50 am Post subject: |
|
|
If this and all other HISTFILE related stuff like $HISTSIZE und $HISTFILESIZE and so on is set to normal values it should work. But recorded are the values when you exit the shell, is this maybe your problem? If not have you also checked, that these variables are set in the startup console not in another? _________________ -- erol |
|
Back to top |
|
|
|