News for hackers. Stuff that matters.
Re:Linux utils that you might not know by stevenspasbo on Monday May 22, 2017 @04:39PM (#14396753)
Both bash and zsh have the option histverify that will expand the !! like so:

> echo "Test"

> sudo !!<enter>

> sudo echo "Test"

You can then modify the command if you want to.

There are no comments on this comment yet.