I wanted to test something in shell and I've typed
echo "!!" instead of typical
I didn't get the
!! for output. Instead, (and very unexpectedly!) it produced the output of my previous command issued for Bash.
I tried to google the phrases
bash !! (and permutations like
bash +"!!"), but I couldn't find any reference for this feature.
Can someone tell me something about the exclamation marks' stuff and Bash? At least how to find extra info?
I use Bash 4.2.45 on Linux Mint 16 64 bit.