Skip to content

comparing files in AIX and LINUX

It is easy – in AIX execute sdiff file1 file2, in LINUX execute diff -i -a -w -y file1 file2 command. The result is a two columns output easily identifying the different lines in both files. You may consider sorting these files first – just a suggestion.

Posted in Real life AIX.

Tagged with , .

2 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Hadret says

    Actually sdiff is available on Linux too — it’s provided by the same package that provides “ordinary” diff (diffutils). So you can stick to the some command if you want to, regardless the OS. There’s also nifty flag for sdiff: -s, which stands for –suppress-common-lines which do not output common lines (:

  2. MarkD:-) says

    thanks for the info!

Some HTML is OK

or, reply to this post via trackback.

WordPress Anti Spam by WP-SpamShield

Copyright © 2016 - 2017 Waldemar Mark Duszyk. All Rights Reserved. Created by Blog Copyright.