BASH and YES or ECHO cannot send "!"
jdow at earthlink.net
Wed Dec 14 05:41:52 UTC 2005
From: "Synister Syntax" <synistersyntaxlist at gmail.com>
> 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.
> On 12/13/05, Steffen Kluge <kluge at fujitsu.com.au> 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.
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.1 (GNU/Linux)
>> -----END PGP SIGNATURE-----
>> fedora-list mailing list
>> fedora-list at redhat.com
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Netowork Manager, Server Administrator, Security Specialist
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
More information about the fedora-list