How to diff and merge files or directories on Linux

Meld is a visual diff and merge tool that can compare files, directories, and any version controlled projects. Meld offers two- and three-way diff and merge, as well as supports simple commands of major version control systems (e.g., SVN, Git, Mercurial, Bazaar). This tutorial describes how to diff and merge files and directories on Linux by using Meld.