@fbfortune Great tip!
In #ksh / #ksh93, you can just type ‘r + Enter’ and it also immediately pulls up the last command and runs it. It’s an alias for ‘hist - s’ or ‘fc -s’
In #bash or #zsh, if ‘!! + Enter’ is only expanding the previous command but not executing, it’s because histverify is on. To turn it off, add this to your ~/.bashrc:
shopt -u histverify
——————
shopt = shell options command
-u = unset
#FreeBSD #OpenBSD #NetBSD #UNIX #Linux #Shell #Terminal #CLI #Commandline
