<?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: Redirect output to /dev/null in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208007#M168014</link>
    <description>Hi,&lt;BR /&gt; I dont see how with &amp;amp;&amp;amp;: &amp;amp;&amp;amp; means what follows (&amp;amp;&amp;amp;) will be executed only if the preceding instructions complete without errors (return a 0 value)&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
    <pubDate>Wed, 03 Mar 2004 08:47:18 GMT</pubDate>
    <dc:creator>Victor BERRIDGE</dc:creator>
    <dc:date>2004-03-03T08:47:18Z</dc:date>
    <item>
      <title>Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208006#M168013</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; I am looking for examples on how to redirect output to /dev/null. Currently, we use&lt;BR /&gt;&lt;BR /&gt;&amp;gt; /dev/null 2&amp;gt;&amp;amp;1 &lt;BR /&gt;&lt;BR /&gt;But I though I remember a shorter version of this with two &amp;amp;&amp;amp; in the syntax?&lt;BR /&gt;&lt;BR /&gt;Any of you gurus know the syntax?&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Mar 2004 08:32:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208006#M168013</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2004-03-03T08:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208007#M168014</link>
      <description>Hi,&lt;BR /&gt; I dont see how with &amp;amp;&amp;amp;: &amp;amp;&amp;amp; means what follows (&amp;amp;&amp;amp;) will be executed only if the preceding instructions complete without errors (return a 0 value)&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Wed, 03 Mar 2004 08:47:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208007#M168014</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2004-03-03T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208008#M168015</link>
      <description>No, your syntax is correct.  You can not use &amp;amp;&amp;amp;</description>
      <pubDate>Wed, 03 Mar 2004 08:55:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208008#M168015</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-03T08:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208009#M168016</link>
      <description>maybe it was &amp;amp;&amp;gt;- or something to that extent</description>
      <pubDate>Wed, 03 Mar 2004 08:56:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208009#M168016</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2004-03-03T08:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208010#M168017</link>
      <description>That is the correct way:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;/dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 03 Mar 2004 09:05:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208010#M168017</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-03-03T09:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208011#M168018</link>
      <description>There is a shorter version of the syntax, Ill keep looking in my notes. thanks</description>
      <pubDate>Wed, 03 Mar 2004 09:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208011#M168018</guid>
      <dc:creator>hpuxrox</dc:creator>
      <dc:date>2004-03-03T09:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208012#M168019</link>
      <description>If you find it could you please share it with us? I for one am ingrigued!&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Wed, 03 Mar 2004 09:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208012#M168019</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2004-03-03T09:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208013#M168020</link>
      <description>Yates, &lt;BR /&gt; &lt;BR /&gt;I hope you have a lot of patience because you will be studying those notes for some time.&lt;BR /&gt; &lt;BR /&gt;How much shorter can it be! You need to have the "/dev/null" in there somewhere which leaves us 6 compulsory characters if we are also re-direct the standard error.  Even you reduce this syntax by 50% you are only going to save three characters.  However, if you like, do this&lt;BR /&gt; &lt;BR /&gt;"ln /dev/null /n"&lt;BR /&gt; &lt;BR /&gt;Thereafter, your syntax could be&lt;BR /&gt; &lt;BR /&gt;&amp;gt;/n 2&amp;gt;&amp;amp;1&lt;BR /&gt; &lt;BR /&gt;This gets it much shorter.</description>
      <pubDate>Wed, 03 Mar 2004 09:28:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208013#M168020</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-03T09:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208014#M168021</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yates is right. Ih ksh you find:&lt;BR /&gt;&amp;lt;&amp;amp;- The standard input is closed. The standard output is closed using &amp;gt;&amp;amp;-&lt;BR /&gt;&lt;BR /&gt;never paid any attention to that.&lt;BR /&gt;&lt;BR /&gt;greetings&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Mar 2004 10:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208014#M168021</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-03-03T10:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208015#M168022</link>
      <description>One more,&lt;BR /&gt;&lt;BR /&gt;this still would be&lt;BR /&gt;command &amp;amp;&amp;gt;- 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Mar 2004 10:14:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208015#M168022</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-03-03T10:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208016#M168023</link>
      <description>closing standard input and closing standard output is not the same as redirecting to /dev/null.</description>
      <pubDate>Wed, 03 Mar 2004 10:17:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208016#M168023</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-03T10:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208017#M168024</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;I see, what you mean. a programme that does get it's stdout closed might abort or burden the cpu.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Mar 2004 10:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208017#M168024</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-03-03T10:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect output to /dev/null</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208018#M168025</link>
      <description>Also, it doesn't close the standard error so this is NOT a substitute syntax for &amp;gt;/dev/null 2&amp;gt;&amp;amp;1.&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 03 Mar 2004 10:44:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/redirect-output-to-dev-null/m-p/3208018#M168025</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-03T10:44:08Z</dc:date>
    </item>
  </channel>
</rss>

