News for hackers. Stuff that matters.
Re:$!134 can be a nice bash foot shooter if you accidentally... by isenhaard on Thursday December 30, 2021 @11:50AM (#29738305)
Hey that's super cool, thanks! Works great!

For those who want to read about shopt, check:

http://www.gnu.org/software/bash/manual/bash.html#The-Shopt-...

Took me a bit to find it, and there seems to be no man entry.

Most important commands:

shopt -s histverify # activates the option

shopt -u histverify # deactivates the option

shopt # shows all available options and their activation status

You must put "shopt -s histverify" to your .bashrc so that it stays activated.

There are no comments on this comment yet.