compare files in folders linux code example
Example 1: directory diff
diff -qr dir1/ dir2/
Example 2: ubuntu diff directories
$ sudo apt install meld [Debian/Ubuntu systems]
$ sudo yum install meld [RHEL/CentOS systems]
$ sudo dnf install meld [Fedora 22+]