<?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: &amp;quot;if&amp;quot; sentence embedded into a remsh command line in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188862#M796458</link>
    <description>Thank you Mr. Vrijhoeven, for me is enough know an echo condition.&lt;BR /&gt;My final command line is:&lt;BR /&gt;remsh $REMOTE_HOST -l root -n "test ! -d $REMOTE_DIR &amp;amp;&amp;amp; mkdir -m 755 $REMOTE_DIR"&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
    <pubDate>Wed, 11 Feb 2004 08:02:42 GMT</pubDate>
    <dc:creator>Jose Mosquera</dc:creator>
    <dc:date>2004-02-11T08:02:42Z</dc:date>
    <item>
      <title>"if" sentence embedded into a remsh command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188858#M796454</link>
      <description>Hi pals,&lt;BR /&gt;&lt;BR /&gt;I need execute the following simplest "if" sentence into a remsh command line (HPUX-11)&lt;BR /&gt;&lt;BR /&gt;if [ -d $REMOTE_DIR ]&lt;BR /&gt;then&lt;BR /&gt;   echo 0&lt;BR /&gt;else&lt;BR /&gt;   echo 9&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;remsh $REMOTE_HOST -l root -n &lt;EMBEDDED_IF&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds and thks in advance&lt;/EMBEDDED_IF&gt;</description>
      <pubDate>Wed, 11 Feb 2004 07:18:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188858#M796454</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2004-02-11T07:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: "if" sentence embedded into a remsh command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188859#M796455</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I always us &amp;amp;&amp;amp; in a remsh string.&lt;BR /&gt;&lt;BR /&gt;remsh $REMOTE -l user -n " test -d REMDIR &amp;amp;&amp;amp; echo 0"&lt;BR /&gt;&lt;BR /&gt;It laks the else but it might be enough.&lt;BR /&gt;&lt;BR /&gt;Gideon</description>
      <pubDate>Wed, 11 Feb 2004 07:22:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188859#M796455</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-02-11T07:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: "if" sentence embedded into a remsh command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188860#M796456</link>
      <description>One possibility is to abandon "if" altogther&lt;BR /&gt; &lt;BR /&gt;remsh host "test -d $REMOTE_DIR &amp;amp;&amp;amp; echo 8"&lt;BR /&gt; &lt;BR /&gt;Then, if you don't get an 8 you can assume that $REMOTE_DIR didn't exist.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 11 Feb 2004 07:26:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188860#M796456</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-02-11T07:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: "if" sentence embedded into a remsh command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188861#M796457</link>
      <description>put that into a script on the remote machine and then do a&lt;BR /&gt;remsh &lt;REMOTE&gt; -n &amp;lt;script-name&amp;gt;&lt;/REMOTE&gt;</description>
      <pubDate>Wed, 11 Feb 2004 07:28:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188861#M796457</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-02-11T07:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: "if" sentence embedded into a remsh command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188862#M796458</link>
      <description>Thank you Mr. Vrijhoeven, for me is enough know an echo condition.&lt;BR /&gt;My final command line is:&lt;BR /&gt;remsh $REMOTE_HOST -l root -n "test ! -d $REMOTE_DIR &amp;amp;&amp;amp; mkdir -m 755 $REMOTE_DIR"&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Wed, 11 Feb 2004 08:02:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quot-if-quot-sentence-embedded-into-a-remsh-command-line/m-p/3188862#M796458</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2004-02-11T08:02:42Z</dc:date>
    </item>
  </channel>
</rss>

