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. MarkD:-) says

    thanks for the info!

  2. 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 (:



Some HTML is OK

or, reply to this post via trackback.



© 2008-2014 www.wmduszyk.com - best viewed with your eyes.