<?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: Executing script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726705#M254012</link>
    <description>Hello, &lt;BR /&gt;&lt;BR /&gt;You can close this thread. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
    <pubDate>Wed, 08 Feb 2006 02:03:37 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2006-02-08T02:03:37Z</dc:date>
    <item>
      <title>Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726683#M253990</link>
      <description>I have some script that should be run under special user.&lt;BR /&gt;But when I try to run srcipt &lt;BR /&gt;./scriptname.sh &lt;BR /&gt;command inside the script doesnt execute&lt;BR /&gt;&lt;BR /&gt;what should I do to overcome that problem?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Feb 2006 23:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726683#M253990</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-02-07T23:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726684#M253991</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Are you using relative path or just command names inside the script ? Try to use full path instead of relative paths. Just like, &lt;BR /&gt;&lt;BR /&gt;# print_manifest &lt;BR /&gt;&lt;BR /&gt;Instead, use&lt;BR /&gt;$ /opt/ignite/bin/print_manifest &lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;</description>
      <pubDate>Tue, 07 Feb 2006 23:23:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726684#M253991</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-07T23:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726685#M253992</link>
      <description>I also did that&lt;BR /&gt;It takes no effect</description>
      <pubDate>Tue, 07 Feb 2006 23:28:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726685#M253992</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-02-07T23:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726686#M253993</link>
      <description>Ok, Do the special user has permission to execute the command(s)? Does it happen for all the system related commands as well ? (ls, find, etc..etc..)?&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 07 Feb 2006 23:34:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726686#M253993</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-07T23:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726687#M253994</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Whether the special user has execute permission for that script?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;CS</description>
      <pubDate>Tue, 07 Feb 2006 23:34:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726687#M253994</guid>
      <dc:creator>saju_2</dc:creator>
      <dc:date>2006-02-07T23:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726688#M253995</link>
      <description>The script commands are simple:&lt;BR /&gt;&lt;BR /&gt;echo 123qwe&lt;BR /&gt;ll&lt;BR /&gt;&lt;BR /&gt;Both commands are executing successfully from the command line.&lt;BR /&gt;&lt;BR /&gt;Script has the following permissions&lt;BR /&gt;-rwxr-xr-x   1 oraslv     dba             35 Feb  7 17:20 11.sh&lt;BR /&gt;&lt;BR /&gt;I try to run script under oraslv&lt;BR /&gt;&lt;BR /&gt;Unfortunately I cant do that yet</description>
      <pubDate>Tue, 07 Feb 2006 23:44:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726688#M253995</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-02-07T23:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726689#M253996</link>
      <description>You can try sudo!</description>
      <pubDate>Tue, 07 Feb 2006 23:45:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726689#M253996</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2006-02-07T23:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726690#M253997</link>
      <description>I did everything that was advised, but it didnt help</description>
      <pubDate>Wed, 08 Feb 2006 00:05:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726690#M253997</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-02-08T00:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726691#M253998</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Which shell you execute ? Also, Can you do this, &lt;BR /&gt;&lt;BR /&gt;$ ./script.sh 2&amp;gt;&amp;amp;1 out&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 08 Feb 2006 00:08:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726691#M253998</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-08T00:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726692#M253999</link>
      <description>I execute sh shell&lt;BR /&gt;&lt;BR /&gt;kate:oraslv&amp;gt; 11.sh 2&amp;gt;&amp;amp;1 out&lt;BR /&gt;kate:oraslv&amp;gt; &lt;BR /&gt;&lt;BR /&gt;no result</description>
      <pubDate>Wed, 08 Feb 2006 00:11:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726692#M253999</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-02-08T00:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726693#M254000</link>
      <description>Script listing&lt;BR /&gt;&lt;BR /&gt;kate:oraslv&amp;gt; more 11.sh &lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;echo 123 &lt;BR /&gt;ls&lt;BR /&gt;&lt;BR /&gt;kate:oraslv&amp;gt;</description>
      <pubDate>Wed, 08 Feb 2006 00:14:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726693#M254000</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-02-08T00:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726694#M254001</link>
      <description>If I delete line "#!/usr/bin/sh"&lt;BR /&gt;everything works normally</description>
      <pubDate>Wed, 08 Feb 2006 00:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726694#M254001</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-02-08T00:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726695#M254002</link>
      <description>Also, do a cat to out and you get anything there. &lt;BR /&gt;&lt;BR /&gt;Try to assign points to people who responded you. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 08 Feb 2006 00:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726695#M254002</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-08T00:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726696#M254003</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Try to use with #!/sbin/sh or #!/usr/bin/ksh. &lt;BR /&gt;&lt;BR /&gt;Also, $ ./11.sh 1&amp;gt;out &lt;BR /&gt;$ cat out&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 08 Feb 2006 00:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726696#M254003</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-08T00:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726697#M254004</link>
      <description>Since removing the line #!/usr/bin/sh &lt;BR /&gt;helps.&lt;BR /&gt;&lt;BR /&gt;That means you have written the script in a form not understood by sh.&lt;BR /&gt;&lt;BR /&gt;So do you want to keep this line.</description>
      <pubDate>Wed, 08 Feb 2006 00:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726697#M254004</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2006-02-08T00:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726698#M254005</link>
      <description>I used ordinary commands in my script, shell sh should understand it &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Feb 2006 00:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726698#M254005</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-02-08T00:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726699#M254006</link>
      <description>I used ordinary commands like 'ls' and 'echo' in my script, shell sh should understand it &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Feb 2006 00:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726699#M254006</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-02-08T00:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726700#M254007</link>
      <description>Can you post your script?</description>
      <pubDate>Wed, 08 Feb 2006 01:09:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726700#M254007</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2006-02-08T01:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726701#M254008</link>
      <description>here it is&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;echo 123&lt;BR /&gt;ls&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Feb 2006 01:13:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726701#M254008</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-02-08T01:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Executing script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726702#M254009</link>
      <description>Try as,&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;echo "123"&lt;BR /&gt;ls -l&lt;BR /&gt;# &lt;BR /&gt;# chmod u+x script.sh&lt;BR /&gt;# sh -x ./script.sh&lt;BR /&gt;&lt;BR /&gt;what are you getting here?&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Feb 2006 01:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executing-script/m-p/3726702#M254009</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-02-08T01:20:08Z</dc:date>
    </item>
  </channel>
</rss>

