<?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: rexec in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698061#M57205</link>
    <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;You can use:&lt;BR /&gt;&lt;BR /&gt;# remsh&lt;BR /&gt;# rexec&lt;BR /&gt;&lt;BR /&gt;See man pages&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
    <pubDate>Fri, 05 Apr 2002 15:49:17 GMT</pubDate>
    <dc:creator>Helen French</dc:creator>
    <dc:date>2002-04-05T15:49:17Z</dc:date>
    <item>
      <title>rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698060#M57204</link>
      <description>I am trying to use rexec to go from box 'a' to box 'b' but execute a script from 'a' on 'b'. How can I do this? I can execute a command, but how do I run a script from 'a' on 'b'?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 05 Apr 2002 15:45:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698060#M57204</guid>
      <dc:creator>Nobody's Hero</dc:creator>
      <dc:date>2002-04-05T15:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698061#M57205</link>
      <description>Hi Robert,&lt;BR /&gt;&lt;BR /&gt;You can use:&lt;BR /&gt;&lt;BR /&gt;# remsh&lt;BR /&gt;# rexec&lt;BR /&gt;&lt;BR /&gt;See man pages&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Fri, 05 Apr 2002 15:49:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698061#M57205</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-04-05T15:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698062#M57206</link>
      <description>Easy&lt;BR /&gt;&lt;BR /&gt;copy the script from server A to sever B then rexec the script on the server B as you would a command. make sure the permissions are set once you have copied the file.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;John.</description>
      <pubDate>Fri, 05 Apr 2002 15:49:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698062#M57206</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-04-05T15:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698063#M57207</link>
      <description>You can't have a script on serverA run on serverB unless you push that script to serverB. try this:&lt;BR /&gt;&lt;BR /&gt;ON serverA&lt;BR /&gt;# cat uuu&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;echo "this is cute"&lt;BR /&gt;hostname&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cat /tmp/uuu|remsh serverB /usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;OUTPUT from serverB&lt;BR /&gt;this is cute&lt;BR /&gt;serverB&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Fri, 05 Apr 2002 15:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698063#M57207</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-04-05T15:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698064#M57208</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;another way would be to mount the directory in which the script resides from server B then execute the script.&lt;BR /&gt;&lt;BR /&gt;serverB# mount serverA:/script_dir  /serverA_dir&lt;BR /&gt;&lt;BR /&gt;then&lt;BR /&gt;&lt;BR /&gt;serverA# rexec serverB:/serverA_dir/script_name&lt;BR /&gt;&lt;BR /&gt;John.</description>
      <pubDate>Fri, 05 Apr 2002 15:52:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698064#M57208</guid>
      <dc:creator>John Carr_2</dc:creator>
      <dc:date>2002-04-05T15:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698065#M57209</link>
      <description>Hi Robert&lt;BR /&gt;&lt;BR /&gt;To make your question more clear you are essentially looking to run a script on box a which call for something parameters from Box b , remsh is a good command to be used for this&lt;BR /&gt;for eg&lt;BR /&gt;&lt;BR /&gt;A#  remsh B:bdf will display the bdf as if it is was run on box B.&lt;BR /&gt;&lt;BR /&gt;The same can be done vice versa ie to execute  script on BOX A from B&lt;BR /&gt;&lt;BR /&gt;B# remsh A:&lt;PATH name="" of="" the="" script="" .=""&gt;&lt;/PATH&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Fri, 05 Apr 2002 15:52:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698065#M57209</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-04-05T15:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: rexec</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698066#M57210</link>
      <description>The script has to be accessible from any system, you can use NFS mount or manually copy the script over. Then you would run it as such..&lt;BR /&gt;&lt;BR /&gt;# remsh jupiter -l skchan -n /opt/apps/myscript&lt;BR /&gt;==&amp;gt; remsh'ing to jupiter as user skchan and run the script in /opt/apps/myscript</description>
      <pubDate>Fri, 05 Apr 2002 16:10:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/rexec/m-p/2698066#M57210</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-05T16:10:11Z</dc:date>
    </item>
  </channel>
</rss>

