<?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 script commands like pdp11,hp9000s200,hp9000s300,hp9000s500,hp9000s800 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594631#M883939</link>
    <description>Hello Deepak,&lt;BR /&gt;&lt;BR /&gt;these script might still exist for historical reasons, but as well some existing software could&lt;BR /&gt;use it like that way:&lt;BR /&gt;&lt;BR /&gt;if hp9000s800&lt;BR /&gt;then echo "Do some server work"&lt;BR /&gt;else echo "Do some workstation work"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;so I would not delete them until I am 100% certain&lt;BR /&gt;that NO SCRIPT AT ALL does use it any more...&lt;BR /&gt;&lt;BR /&gt;Just my $0.02,&lt;BR /&gt;Wodisch&lt;BR /&gt;&lt;BR /&gt;PS: you might try something like&lt;BR /&gt;find / -type f -print | while read name; do&lt;BR /&gt;case "$(file $name)" in&lt;BR /&gt;*text*) grep "hp9000s[23478]00" $name /dev/null;;&lt;BR /&gt;esac;done&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 15 Oct 2001 13:42:57 GMT</pubDate>
    <dc:creator>Wodisch</dc:creator>
    <dc:date>2001-10-15T13:42:57Z</dc:date>
    <item>
      <title>shell script commands like pdp11,hp9000s200,hp9000s300,hp9000s500,hp9000s800</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594628#M883936</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are there any reasons, why these architecture&lt;BR /&gt;scripts are there on the HP-UX machine.&lt;BR /&gt;uname -m would give the architecure.&lt;BR /&gt;&lt;BR /&gt;They just return exit 1/0&lt;BR /&gt;What is the signigicance of it.&lt;BR /&gt;&lt;BR /&gt;Please let me know, if anyone knows about it.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards&lt;BR /&gt;Deepak&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Oct 2001 01:59:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594628#M883936</guid>
      <dc:creator>Deepak_7</dc:creator>
      <dc:date>2001-10-15T01:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: shell script commands like pdp11,hp9000s200,hp9000s300,hp9000s500,hp9000s800</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594629#M883937</link>
      <description>Hi Deepak,&lt;BR /&gt;&lt;BR /&gt;In years gone by I am sure that using the&lt;BR /&gt;uname -m command resulted in the system&lt;BR /&gt;model as well as the model command.&lt;BR /&gt;&lt;BR /&gt;e.g a T500 used to be called an 891, a&lt;BR /&gt;T600 an 897, therefore 'uname -m' would &lt;BR /&gt;return 800/891 or 800/897&lt;BR /&gt;&lt;BR /&gt;I suspect that this is historical only,&lt;BR /&gt;but I could be wrong.... &lt;BR /&gt;&lt;BR /&gt;-Michael</description>
      <pubDate>Mon, 15 Oct 2001 03:37:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594629#M883937</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2001-10-15T03:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: shell script commands like pdp11,hp9000s200,hp9000s300,hp9000s500,hp9000s800</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594630#M883938</link>
      <description>&lt;BR /&gt;It is a easy way to says if your box is a hp900s200 or what..&lt;BR /&gt;&lt;BR /&gt;grep "exit"  hp?* &lt;BR /&gt;hp-mc680x0:exit 1&lt;BR /&gt;hp-pa:exit 0                            &lt;BR /&gt;hp9000s200:exit 1&lt;BR /&gt;hp9000s300:exit 1&lt;BR /&gt;hp9000s400:exit 1                     &lt;BR /&gt;hp9000s500:exit 1           &lt;BR /&gt;hp9000s700:exit $?&lt;BR /&gt;hp9000s700_8MB:exit 1                 &lt;BR /&gt;hp9000s800:exit 0 &lt;BR /&gt;&lt;BR /&gt;It is used in system integration scripts.&lt;BR /&gt;&lt;BR /&gt;Can you say what machine type is this?&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Oct 2001 08:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594630#M883938</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2001-10-15T08:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: shell script commands like pdp11,hp9000s200,hp9000s300,hp9000s500,hp9000s800</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594631#M883939</link>
      <description>Hello Deepak,&lt;BR /&gt;&lt;BR /&gt;these script might still exist for historical reasons, but as well some existing software could&lt;BR /&gt;use it like that way:&lt;BR /&gt;&lt;BR /&gt;if hp9000s800&lt;BR /&gt;then echo "Do some server work"&lt;BR /&gt;else echo "Do some workstation work"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;so I would not delete them until I am 100% certain&lt;BR /&gt;that NO SCRIPT AT ALL does use it any more...&lt;BR /&gt;&lt;BR /&gt;Just my $0.02,&lt;BR /&gt;Wodisch&lt;BR /&gt;&lt;BR /&gt;PS: you might try something like&lt;BR /&gt;find / -type f -print | while read name; do&lt;BR /&gt;case "$(file $name)" in&lt;BR /&gt;*text*) grep "hp9000s[23478]00" $name /dev/null;;&lt;BR /&gt;esac;done&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Oct 2001 13:42:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594631#M883939</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-10-15T13:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: shell script commands like pdp11,hp9000s200,hp9000s300,hp9000s500,hp9000s800</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594632#M883940</link>
      <description>This was the standard mechanism for determining the architecture. Uname output has varied over the years and across flavors of unix. The typical mechanism for not only to test for the output of the command but also the existence of the command.</description>
      <pubDate>Mon, 15 Oct 2001 14:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-commands-like-pdp11-hp9000s200-hp9000s300/m-p/2594632#M883940</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-10-15T14:00:57Z</dc:date>
    </item>
  </channel>
</rss>

