<?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: Compare contents of two files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955354#M414535</link>
    <description>Hello,&lt;BR /&gt;cmp and diff would be a solution for you&lt;BR /&gt;cmp file1 file2&lt;BR /&gt;diff file1 file2&lt;BR /&gt;Good Luck,</description>
    <pubDate>Fri, 27 Jan 2006 03:19:45 GMT</pubDate>
    <dc:creator>Cem Tugrul</dc:creator>
    <dc:date>2006-01-27T03:19:45Z</dc:date>
    <item>
      <title>Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955341#M414522</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;What is the command to compare contents of two files,&lt;BR /&gt;example:&lt;BR /&gt;I need compare two kernels.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 26 Jan 2006 14:48:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955341#M414522</guid>
      <dc:creator>Miguel Carabano_1</dc:creator>
      <dc:date>2006-01-26T14:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955342#M414523</link>
      <description>cmp&lt;BR /&gt;&lt;BR /&gt;as in "cmp file1 file2"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 26 Jan 2006 14:49:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955342#M414523</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-01-26T14:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955343#M414524</link>
      <description>man cmp .&lt;BR /&gt;man diff.&lt;BR /&gt;&lt;BR /&gt;Rgards ,&lt;BR /&gt;bl.</description>
      <pubDate>Thu, 26 Jan 2006 14:51:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955343#M414524</guid>
      <dc:creator>baiju_3</dc:creator>
      <dc:date>2006-01-26T14:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955344#M414525</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;use &lt;BR /&gt;&lt;BR /&gt;diff &lt;BR /&gt;&lt;BR /&gt;if you wanted to know if they are one and same, then use &lt;BR /&gt;&lt;BR /&gt;cksum - if both has similar output numbers the files are identical&lt;BR /&gt;&lt;BR /&gt;Chan</description>
      <pubDate>Thu, 26 Jan 2006 15:01:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955344#M414525</guid>
      <dc:creator>Chan 007</dc:creator>
      <dc:date>2006-01-26T15:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955345#M414526</link>
      <description>Hi Miquel:&lt;BR /&gt;&lt;BR /&gt;While 'diff' and 'cmp' will compare and optionally report the differences of ASSCII text files, all that will be returned for binary files is whether they differ or not. &lt;BR /&gt;&lt;BR /&gt;If two binary files differ, 'diff' will simply note:&lt;BR /&gt;&lt;BR /&gt;"Binary files f1 and f2 differ"&lt;BR /&gt;&lt;BR /&gt;The best way to valid the "sameness" of any two files is to compare their 'cksum' value:&lt;BR /&gt;&lt;BR /&gt;# cksum /stand/vmunix&lt;BR /&gt;2335558063 10340004 /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;The first number is the computed cksum; teh second is the number of octets.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 26 Jan 2006 15:04:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955345#M414526</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-01-26T15:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955346#M414527</link>
      <description>diff file1 file2</description>
      <pubDate>Thu, 26 Jan 2006 15:12:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955346#M414527</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2006-01-26T15:12:29Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955347#M414528</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need compare the output of kmtune and to know as they are the differences.&lt;BR /&gt;&lt;BR /&gt;Then aplly the changes...&lt;BR /&gt;&lt;BR /&gt;MC</description>
      <pubDate>Thu, 26 Jan 2006 15:32:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955347#M414528</guid>
      <dc:creator>Miguel Carabano_1</dc:creator>
      <dc:date>2006-01-26T15:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955348#M414529</link>
      <description>Hi;&lt;BR /&gt;&lt;BR /&gt;Try the following command..&lt;BR /&gt;&lt;BR /&gt;#cmp file1_nmae file2_name&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;indrajit</description>
      <pubDate>Thu, 26 Jan 2006 16:01:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955348#M414529</guid>
      <dc:creator>Indrajit_1</dc:creator>
      <dc:date>2006-01-26T16:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955349#M414530</link>
      <description>Hi Miquel:&lt;BR /&gt;&lt;BR /&gt;On each server, do:&lt;BR /&gt;&lt;BR /&gt;# kmtune -l &amp;gt; /tmp/kmtune.$(hostnmae)&lt;BR /&gt;&lt;BR /&gt;Then:&lt;BR /&gt;&lt;BR /&gt;# diff -bC1 /tmp/kmtune.host1 /tmp/kmtune.host2&lt;BR /&gt;&lt;BR /&gt;...to show lines in context...or simply:&lt;BR /&gt;&lt;BR /&gt;# diff /tmp/kmtune.host1 /tmp/kmtune.host2&lt;BR /&gt;&lt;BR /&gt;See the manpages for 'diff' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Jan 2006 16:02:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955349#M414530</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-01-26T16:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955350#M414531</link>
      <description>diff /stand/system /stand/build/system to see any changes you have made, but next time just use Sam to make kernel changes that way you can see the current value and the pending value before you reboot your server</description>
      <pubDate>Thu, 26 Jan 2006 16:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955350#M414531</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2006-01-26T16:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955351#M414532</link>
      <description>On HP-UX you can use:&lt;BR /&gt;#diff file1 file2&lt;BR /&gt;tienna</description>
      <pubDate>Thu, 26 Jan 2006 21:05:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955351#M414532</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2006-01-26T21:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955352#M414533</link>
      <description>Try as,&lt;BR /&gt;&lt;BR /&gt;nm /stand/vmunix &amp;gt; /tmp/kernel1.symbol&lt;BR /&gt;nm &lt;ANOTHER kernel="" file=""&gt; &amp;gt; /tmp/kernel2.symbol&lt;BR /&gt;diff /tmp/kernel1.symbol /tmp/kernel2.symbol&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;/ANOTHER&gt;</description>
      <pubDate>Fri, 27 Jan 2006 01:52:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955352#M414533</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-27T01:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955353#M414534</link>
      <description>Another way as,&lt;BR /&gt;&lt;BR /&gt;strings /stand/vmunix &amp;gt; /tmp/kernel1&lt;BR /&gt;strings &lt;NEXT kernel=""&gt; &amp;gt; /tmp/kernel2&lt;BR /&gt;diff /tmp/kernel1 /tmp/kernel2&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;BR /&gt;&lt;/NEXT&gt;</description>
      <pubDate>Fri, 27 Jan 2006 01:56:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955353#M414534</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-27T01:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955354#M414535</link>
      <description>Hello,&lt;BR /&gt;cmp and diff would be a solution for you&lt;BR /&gt;cmp file1 file2&lt;BR /&gt;diff file1 file2&lt;BR /&gt;Good Luck,</description>
      <pubDate>Fri, 27 Jan 2006 03:19:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955354#M414535</guid>
      <dc:creator>Cem Tugrul</dc:creator>
      <dc:date>2006-01-27T03:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Compare contents of two files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955355#M414536</link>
      <description>Thanks.&lt;BR /&gt;&lt;BR /&gt;MC</description>
      <pubDate>Fri, 27 Jan 2006 13:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compare-contents-of-two-files/m-p/4955355#M414536</guid>
      <dc:creator>Miguel Carabano_1</dc:creator>
      <dc:date>2006-01-27T13:33:59Z</dc:date>
    </item>
  </channel>
</rss>

