After a while, you start relying on ctrl + R like a notepad ๐, also for the longest time after i got into linux i didnt know that by pressing control R multiple times you go back multiple instances of the search term ๐
Login to reply
Replies (3)
Also handy in bashrc
*Unlimited history
'HISTSIZE=-1
HISTFILESIZE=-1'
*Update history immediately.
'shopt -s histappend'
*Ignore commands prefaced with space & remove duplicates
'HISTCONTROL=ignoreboth'
Wow so you can share the history across multiple sessions this way?
Yes, history from one will immediately be available in another this way ๐