4 ms·
Its considered kind of a security risk, but I like to save ALL of my commands: (put this in .bashrc) export PROMPT_COMMAND='echo "$(history 1)" >> $HOME/
by TheGrassyKnoll 9y ago
Its considered kind of a security risk, but I like to save ALL of my commands:
(put this in .bashrc)
export PROMPT_COMMAND='echo "$(history 1)" >> $HOME/.basheternalhistory'
Now you can search it later for arcane commands you've forgotten how to use.