In Linux, if I have two directories, how I can see the differences of content in these directories?
Now I use this command:
diff <(ls -d dir1/*) <(ls -d dir2/*)
Any other idea?
Why not use
$ diff test1 test2 Only in test1: bar Only in test2: baz