Running echo "Hello world!" in bash:
# echo "Hello world!"
-bash: !": event not found
Why does bash complain "!": event not found"? No !, everything is OK:
# echo "Hello world"
Hello world
Update:
My bash version:
# bash --version
GNU bash, version 4.2.46(1)-release (x86_64-redhat-linux-gnu)
!) – Anthon Apr 18 '16 at 06:474.2.46, thanks! – Nan Xiao Apr 18 '16 at 06:51