My question is simple:
$ echo "Hello!"
sh: !": event not found
What is ! in this case? I then tried echo "Match\!", but that resolves to Match\!. How do I have to write the statement?
You can use single quotes:
echo 'Hello!'
Hello!
Otherwise in double quotes shell attempts to expand ! to an event from the history..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With