5

Permanently Storing a command in bash history

view full story
linux-howto

http://unix.stackexchange.com – Is there any way to store a command in bash history permanently? The actual scenario goes like this:- I have a project in C and in order to configure my project, I have to run a very long command which is very difficult to remember. Once configured and build, I don't need that command for almost a month or so. Due to automatically deletion of old commands from the bash history, next time when I need that command, its not there in the history. Note: Don't post solutions like store the command in a script file and execute script whenever required. (HowTos)