<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Shell command execution in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/shell-command-execution/m-p/3825961#M66473</link>
    <description>You must prepend the exclamation mark with a backslash&lt;BR /&gt;the following will work:&lt;BR /&gt;a=`echo Hello\!`</description>
    <pubDate>Wed, 19 Jul 2006 00:47:38 GMT</pubDate>
    <dc:creator>Alexander Chuzhoy</dc:creator>
    <dc:date>2006-07-19T00:47:38Z</dc:date>
    <item>
      <title>Shell command execution</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shell-command-execution/m-p/3825959#M66471</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; The following command is not working:&lt;BR /&gt;&lt;BR /&gt;[root@localhost tmp]# a=`echo Hello!`&lt;BR /&gt;-bash: !`: event not found&lt;BR /&gt;&lt;BR /&gt;The document says "exclamation mark" triggers the Bash "history mechanism."&lt;BR /&gt;&lt;BR /&gt;Can someone explain in detail?&lt;BR /&gt;&lt;BR /&gt;TIA.</description>
      <pubDate>Tue, 18 Jul 2006 23:38:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shell-command-execution/m-p/3825959#M66471</guid>
      <dc:creator>SGK</dc:creator>
      <dc:date>2006-07-18T23:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Shell command execution</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shell-command-execution/m-p/3825960#M66472</link>
      <description>L.S.&lt;BR /&gt;&lt;BR /&gt;try&lt;BR /&gt;a='Hello!&lt;BR /&gt;or a=`echo "$SomeVar"'Hello!'`&lt;BR /&gt;&lt;BR /&gt;The single quotes form a literal string.&lt;BR /&gt;Check bash man page for QUOTING.&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Wed, 19 Jul 2006 00:40:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shell-command-execution/m-p/3825960#M66472</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2006-07-19T00:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Shell command execution</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shell-command-execution/m-p/3825961#M66473</link>
      <description>You must prepend the exclamation mark with a backslash&lt;BR /&gt;the following will work:&lt;BR /&gt;a=`echo Hello\!`</description>
      <pubDate>Wed, 19 Jul 2006 00:47:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shell-command-execution/m-p/3825961#M66473</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2006-07-19T00:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Shell command execution</title>
      <link>https://community.hpe.com/t5/operating-system-linux/shell-command-execution/m-p/3825962#M66474</link>
      <description>-bash: !`: event not found&lt;BR /&gt;&lt;BR /&gt;You get this error because in the bash shell if you run !something, the shell tries to find the last command that starts the word "something", that is, the ! is a special character for bash.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;ls /usr/share/doc&lt;BR /&gt;echo "Hello"&lt;BR /&gt;!ls&lt;BR /&gt;&lt;BR /&gt;The last command will run ls /usr/share/doc again.</description>
      <pubDate>Wed, 19 Jul 2006 09:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/shell-command-execution/m-p/3825962#M66474</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-07-19T09:00:09Z</dc:date>
    </item>
  </channel>
</rss>

