[YLUG] Bash History problem
Dominic Hibbs
dominic.hibbs at gmail.com
Fri Jan 18 15:19:50 GMT 2008
I have searched the man pages and FAQs but I cannot see why bash HISTORY
fails to work. During a single session history using up arrow works fine,
although I have not tested it thoroughly. But on loading the first terminal
after booting - there is no history. My .bashrc is
PATH="${PATH}:." export PATH
set gives
GROUPS=()
GTK_RC_FILES=/etc/gtk/gtkrc:/home/dgh/.gtkrc-1.2-gnome2
HISTFILE=/home/dgh/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/dgh
HOSTNAME=dgh-laptop
ls -al gives
drwxr-xr-x 26 dgh dgh 4096 2008-01-09 13:29 alfgar
-rw------- 1 root root 153 2007-11-10 11:35 .bash_history
-rw-r--r-- 1 dgh dgh 29 2007-11-10 14:08 .bashrc
-rw-r--r-- 1 dgh dgh 29 2007-11-10 14:05 .bashrc~
drwxr-xr-x 3 dgh dgh 4096 2008-01-02 19:23 .cache
The date is when Ububtu was installed.
Hold it! I think I may have seen it. Should .bash_history be owned by me?
I will still post this as it may be of interest to someone.
Cheers Dominic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/york/attachments/20080118/88f67f04/attachment.html
More information about the York
mailing list