My notepad

Chris' IT notes…
← Back

echo esclamation mark "!"

sh
$ echo "\"That's impossible"'!'"\" he said."
"That's impossible!" he said.

You need to put the symbol between double and single quotes: " ' <symbol> ' " Source: http://qntm.org/bash