System Grab Bag

View all TLDR pages from common (or from all pages)

colordiff

A tool to colorize diff output. The Perl script colordiff is a wrapper for diff and produces the same output but with pretty syntax highlighting. Color schemes can be customized. More information: https://github.com/kimmel/colordiff.
  • Compare files:
    colordiff {{file1}} {{file2}}
  • Output in two columns:
    colordiff -y {{file1}} {{file2}}
  • Ignore case differences in file contents:
    colordiff -i {{file1}} {{file2}}
  • Report when two files are the same:
    colordiff -s {{file1}} {{file2}}
  • Ignore white spaces:
    colordiff -w {{file1}} {{file2}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.