I was trying to a string search within Ubuntu 12.04 which went as follows:
find . -exec grep -l "!45" {} \;
Instead of searching for the string "!45", it was replaced with top
. It didn't invoke the commmand, but merely start searching for the term "top". Until I figured out -F
for grep
, I thought special characters would be treated as text in between quotations.
Anywho, now that I've discovered this, I have no idea what this is, what it's used for, or why it even exists!
set +H
orset +o histexpand
– glenn jackman Jul 16 '13 at 20:06