We recently moved our server home directories to NFS. An unfortunate byproduct of this is that all of one’s .bash_history files are combined into a jumbled mess. To fix this I just created one new directory and added one new line to my .bashrc: export HISTFILE=~/.bash_history/`hostname -s`.hist
Problem solved.
Geeking Out
Clever, I like it.
cute… i just did this for myself. we’ve had nfs homedirs for a while here, and the history file thing has been a minor annoyance for me.
What’s annoying to me is remembering which servers have been moved to NFS/LDAP and which have not, and knowing which passwords to type and where various things are. Conformity is king! 🙂