3 ms·
There is a history command, with a way to reload, so this would be possible by writing to bash_history from bashrc, then reloading the history I think. Not test
by mdiesel 6y ago
There is a history command, with a way to reload, so this would be possible by writing to bash_history from bashrc, then reloading the history I think. Not tested.
This is a short guide that is an eye opener as to just how much can be done with bash history: https://www.digitalocean.com/community/tutorials/how-to-use-bash-history-commands-and-expansions-on-a-linux-vps https://www.digitalocean.com/community/tutorials/how-to-use-...