<?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: Need an explanation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895812#M840916</link>
    <description>Your substitution is wrong...&lt;BR /&gt;&lt;BR /&gt;$(cat bla) - should be:&lt;BR /&gt;&lt;BR /&gt;BLA=`cat bla`&lt;BR /&gt;&lt;BR /&gt;Then echo $BLA will be:&lt;BR /&gt;&lt;BR /&gt;reboot&lt;BR /&gt;root&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 12 Apr 2005 09:21:44 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2005-04-12T09:21:44Z</dc:date>
    <item>
      <title>Need an explanation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895806#M840910</link>
      <description>I have enconture strange behavior on my server.&lt;BR /&gt;It is C3600 with HPUX 11.0.&lt;BR /&gt;There is file bla:&lt;BR /&gt;pwd&lt;BR /&gt;/&lt;BR /&gt;ll bla&lt;BR /&gt;-rwxrwxrwx   1 root       sys             12 Apr 12 15:20 bla&lt;BR /&gt;more bla&lt;BR /&gt;reboot&lt;BR /&gt;root&lt;BR /&gt;&lt;BR /&gt;When I try this command, server shutdowns:&lt;BR /&gt;bla = $(cat bla)  &lt;BR /&gt;&lt;BR /&gt;There is entry in /var/adm/shutdownlog like this:&lt;BR /&gt;15:34  Tue Apr 12, 2005.  Reboot:  (by root)&lt;BR /&gt;&lt;BR /&gt;There is no core file or something in /var/adm/crash.&lt;BR /&gt;Any help?</description>
      <pubDate>Tue, 12 Apr 2005 09:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895806#M840910</guid>
      <dc:creator>Davor Bira?</dc:creator>
      <dc:date>2005-04-12T09:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need an explanation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895807#M840911</link>
      <description>What you do is expected behaviour from bla = $(cat bla)&lt;BR /&gt;&lt;BR /&gt;What do you want??&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Tue, 12 Apr 2005 09:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895807#M840911</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-04-12T09:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need an explanation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895808#M840912</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Why should there be a crash file?&lt;BR /&gt;&lt;BR /&gt;you did a reboot&lt;BR /&gt;&lt;BR /&gt;bla=$(cat bla)&lt;BR /&gt;bla=reboot&lt;BR /&gt;reboot&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 12 Apr 2005 09:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895808#M840912</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2005-04-12T09:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need an explanation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895809#M840913</link>
      <description>Yep, you ran "bla" as root I'll bet and rebooted the box. Remove the file "bla".&lt;BR /&gt;&lt;BR /&gt;You may want to look over other files on your server. Wide open perms on home made files could be trouble.</description>
      <pubDate>Tue, 12 Apr 2005 09:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895809#M840913</guid>
      <dc:creator>Doug Burton</dc:creator>
      <dc:date>2005-04-12T09:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Need an explanation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895810#M840914</link>
      <description>Hi,&lt;BR /&gt;maybe you expected that this line should perform a variable assignment, only:&lt;BR /&gt;# bla = $(cat bla) &lt;BR /&gt;but because of the space after "bla" the shell considers "bla" a separate command to be executed - which it apparently is.&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;John K.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Apr 2005 09:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895810#M840914</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2005-04-12T09:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need an explanation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895811#M840915</link>
      <description>It's not generally a good thing to name variables the same as executables! Also the space before the '=' means that the shell interprets your command as&lt;BR /&gt;&lt;BR /&gt;Run executable bla with arguments '=' and '$(cat bla)'&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Apr 2005 09:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895811#M840915</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-04-12T09:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need an explanation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895812#M840916</link>
      <description>Your substitution is wrong...&lt;BR /&gt;&lt;BR /&gt;$(cat bla) - should be:&lt;BR /&gt;&lt;BR /&gt;BLA=`cat bla`&lt;BR /&gt;&lt;BR /&gt;Then echo $BLA will be:&lt;BR /&gt;&lt;BR /&gt;reboot&lt;BR /&gt;root&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Apr 2005 09:21:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895812#M840916</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-04-12T09:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need an explanation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895813#M840917</link>
      <description>Thanks for fast respond, it was really helpfull.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Apr 2005 09:22:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-an-explanation/m-p/4895813#M840917</guid>
      <dc:creator>Davor Bira?</dc:creator>
      <dc:date>2005-04-12T09:22:55Z</dc:date>
    </item>
  </channel>
</rss>

