The following fails and I don't understand why:
$ echo "#!"
the following also fails with the same error message:
$ echo "\#!"
the error message:
-bash: !": event not found
Why does it fail? How should the echo be done instead?
The following fails and I don't understand why:
$ echo "#!"
the following also fails with the same error message:
$ echo "\#!"
the error message:
-bash: !": event not found
Why does it fail? How should the echo be done instead?