I want to speed up access to my .bash_history file. I have my PROMPT_COMMAND set to do history -a; history -r, so there is a significant delay in getting a new prompt. I want to see if I can speed this up by memory mapping .bash_history to a linux device (say /dev/history) and then using that device as my HISTFILE.
|
feedback
|
|
A pretty standard solution for creating memory-mapped filesystems under Linux is tmpfs. For your use case you could put your Alternatively, you could try to improve caching of the filesystem where your home directory lives. | |||||||
feedback
|
