BASH and YES or ECHO cannot send "!"

Steffen Kluge kluge at
Wed Dec 14 03:12:05 UTC 2005

On Tue, 2005-12-13 at 11:40 -0600, Mike McCarty wrote:
> $ echo "Hello there\!"
> Hello there\!

The double quotes take the shine off the backslash, so to speak, and
make it ordinary.

> $ echo 'Hello there!'
> Hello there!

$ echo Hello there\!

would have worked, too.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the fedora-list mailing list