Re: BASH and YES or ECHO cannot send "!"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Synister Syntax" <synistersyntaxlist@xxxxxxxxx>

echo "Hello World! "

also works...

    Just don't have !" on top of each other like that.  An extra
spcae should't get in the way?
Hope this adds to your research.

Of coure, "!" is an annoyance. "&" can kill a machine.
 echo this will destroy your machine & rm -rf /
is not quite the same thing as
 echo "This won't destroy your machine & rm -rf /"

ALWAYS be careful about quoting when using special characters.

{o.o}

On 12/13/05, Steffen Kluge <kluge@xxxxxxxxxxxxxx> wrote:
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.

Cheers
Steffen.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDn42Fqm99Rhir+FkRAq/oAKC247eZi+N2VB2kk+aolJhJtyNBcQCgh6+T
4L2mFRZcJMJWC9tHZfO+GME=
=WxTQ
-----END PGP SIGNATURE-----


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




--
Regards,
SynSyn
Netowork Manager, Server Administrator, Security Specialist
(http://www.teamtrinix.com)

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux