How to compare two files in Linux command line

You can compare two text files in Linux using the following command-line tools:
diff
vim / vimdiff
These tools are already installed “out-of-the-box” in most Linux distributions.
Continue reading “How to compare two files in Linux command line”