<?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: 2&amp;gt;&amp;amp;1 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848657#M2913</link>
    <description>L.S.&lt;BR /&gt;&lt;BR /&gt;Michael made a small mistake:&lt;BR /&gt;2&amp;gt;&amp;amp;1 means reroute stdout to what is defined stdin at that moment.&lt;BR /&gt;Should read:&lt;BR /&gt;2&amp;gt;&amp;amp;1 means redirect stderr to what is defined as stdout at that moment.&lt;BR /&gt;&lt;BR /&gt;JP.</description>
    <pubDate>Mon, 22 Nov 2004 10:09:29 GMT</pubDate>
    <dc:creator>Jeroen Peereboom</dc:creator>
    <dc:date>2004-11-22T10:09:29Z</dc:date>
    <item>
      <title>2&gt;&amp;1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848652#M2908</link>
      <description>What is the meaning of 2&amp;gt;&amp;amp;1 and /dev/null, when do you use them&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;chakri</description>
      <pubDate>Wed, 20 Nov 2002 10:01:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848652#M2908</guid>
      <dc:creator>Chakravarthi</dc:creator>
      <dc:date>2002-11-20T10:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: 2&gt;&amp;1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848653#M2909</link>
      <description />
      <pubDate>Wed, 20 Nov 2002 10:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848653#M2909</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-11-20T10:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: 2&gt;&amp;1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848654#M2910</link>
      <description>Usually used in the cron at the end of a command to not report any information to the owner as to the outcome of the shell script.&lt;BR /&gt;&lt;BR /&gt;Used like this at the end:&lt;BR /&gt;&lt;BR /&gt;30 00 * * * /usr/local/bin/capture &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;Which runs the shell script clean at 12:30 AM everyday and does not report out to the console or to email whether or not it ran.&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Nov 2004 15:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848654#M2910</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2004-11-19T15:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: 2&gt;&amp;1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848655#M2911</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;/dev/null is a device which if you are not intrested in the output of a command/script you can reroute the output to the so called null devices where it disappears like in a black hole.&lt;BR /&gt;Every process usually has three channels.&lt;BR /&gt;0 for standard in=stdin for input&lt;BR /&gt;1 for standard out=stdout for output&lt;BR /&gt;2 for standars error=stderr for error messages&lt;BR /&gt;2&amp;gt;&amp;amp;1 means reroute stdout to what is defined stdin at that moment.&lt;BR /&gt;ls -l /dev &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;reroutes stdin and stderr to /dev/null&lt;BR /&gt;Note, some programs use stdout also for data ouput.&lt;BR /&gt;&lt;BR /&gt;greetings,&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Nov 2004 16:25:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848655#M2911</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-11-19T16:25:57Z</dc:date>
    </item>
    <item>
      <title>Re: 2&gt;&amp;1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848656#M2912</link>
      <description>Note, some programs use stdout also for data ouput.&lt;BR /&gt;well that's obvious. That should have been&lt;BR /&gt;Note, some programs use stderr also for data ouput.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Nov 2004 16:37:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848656#M2912</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-11-19T16:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: 2&gt;&amp;1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848657#M2913</link>
      <description>L.S.&lt;BR /&gt;&lt;BR /&gt;Michael made a small mistake:&lt;BR /&gt;2&amp;gt;&amp;amp;1 means reroute stdout to what is defined stdin at that moment.&lt;BR /&gt;Should read:&lt;BR /&gt;2&amp;gt;&amp;amp;1 means redirect stderr to what is defined as stdout at that moment.&lt;BR /&gt;&lt;BR /&gt;JP.</description>
      <pubDate>Mon, 22 Nov 2004 10:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848657#M2913</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-11-22T10:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: 2&gt;&amp;1</title>
      <link>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848658#M2914</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I must have been too tired.&lt;BR /&gt;correction&lt;BR /&gt;2&amp;gt;&amp;amp;1 means reroute stderr to what is defined stdout at that moment.&lt;BR /&gt;reroutes stdout and stderr to /dev/null&lt;BR /&gt;Note, some programs use stderr also for data ouput.&lt;BR /&gt;&lt;BR /&gt;thanks JP.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Nov 2004 10:33:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/2-gt-amp-1/m-p/2848658#M2914</guid>
      <dc:creator>Michael Schulte zur Sur</dc:creator>
      <dc:date>2004-11-22T10:33:07Z</dc:date>
    </item>
  </channel>
</rss>

