<?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: dd output in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478046#M776489</link>
    <description>Thanks for all the help. I forgot you can redirect the output that way.&lt;BR /&gt;&lt;BR /&gt;Greg</description>
    <pubDate>Wed, 03 Jan 2001 18:24:10 GMT</pubDate>
    <dc:creator>Gregory Hartmann</dc:creator>
    <dc:date>2001-01-03T18:24:10Z</dc:date>
    <item>
      <title>dd output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478041#M776484</link>
      <description>Is there a way to turn off the output of dd, you know, "x+y records in", "x+y records out".&lt;BR /&gt;I am using dd inside an x-window program that wipes classified disks of their data and those messages look kind of tacky. If I had the dd source code maybe I could modify that and incorporate it into my program, or are there other commands I could use to accomplish the same thing?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Greg</description>
      <pubDate>Tue, 02 Jan 2001 23:04:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478041#M776484</guid>
      <dc:creator>Gregory Hartmann</dc:creator>
      <dc:date>2001-01-02T23:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: dd output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478042#M776485</link>
      <description>Hi, Gregory:&lt;BR /&gt;&lt;BR /&gt;Redirect stderr to /dev/null as:&lt;BR /&gt;&lt;BR /&gt;# dd if=inputfile of=outputfile 2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2001 00:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478042#M776485</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-03T00:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: dd output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478043#M776486</link>
      <description>dd if=... of=... 2&amp;gt;/logfile&lt;BR /&gt;&lt;BR /&gt;Or 2&amp;gt;/dev/null if you prefer.  Logging to file is safer, so that you can check for error conditions.</description>
      <pubDate>Wed, 03 Jan 2001 00:53:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478043#M776486</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2001-01-03T00:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: dd output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478044#M776487</link>
      <description>Hi Gregory,&lt;BR /&gt;&lt;BR /&gt;Redirecting the standard error file descriptor is a mechanism that you can use with many (if not all) programs, not only with dd.&lt;BR /&gt;&lt;BR /&gt;dd if=inputfile of=outputfile bs=xx &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &lt;BR /&gt;discards both standard output and standard error&lt;BR /&gt;&lt;BR /&gt;dd if=inputfile of=outputfile bs=xx 2&amp;gt;/dev/null&lt;BR /&gt;discards only std error&lt;BR /&gt;&lt;BR /&gt;dd if=inputfile of=outputfile bs=xx 1&amp;gt;log.out 2&amp;gt;log.err&lt;BR /&gt;redirects std output and std error in 2 different files.&lt;BR /&gt;&lt;BR /&gt;When redirecting, keep in mind that file descriptor 1 is std output, 2 is std error, and 0 is std input.&lt;BR /&gt;&lt;BR /&gt;Those 3 file descriptors are opened automatically by all programs at runtime.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Dan&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PS: have a look at 'man sh-posix', paragraph called Input/output for more explanations.&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jan 2001 06:26:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478044#M776487</guid>
      <dc:creator>Dan Hetzel</dc:creator>
      <dc:date>2001-01-03T06:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: dd output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478045#M776488</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One final note: both &amp;gt; and 2&amp;gt; will most likely overwrite the log file so be careful.  If you want to append to the log file, use either &amp;gt;&amp;gt; or 2&amp;gt;&amp;gt;.&lt;BR /&gt;&lt;BR /&gt;--Bruce</description>
      <pubDate>Wed, 03 Jan 2001 13:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478045#M776488</guid>
      <dc:creator>Bruce Regittko_1</dc:creator>
      <dc:date>2001-01-03T13:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: dd output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478046#M776489</link>
      <description>Thanks for all the help. I forgot you can redirect the output that way.&lt;BR /&gt;&lt;BR /&gt;Greg</description>
      <pubDate>Wed, 03 Jan 2001 18:24:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dd-output/m-p/2478046#M776489</guid>
      <dc:creator>Gregory Hartmann</dc:creator>
      <dc:date>2001-01-03T18:24:10Z</dc:date>
    </item>
  </channel>
</rss>

