You said Linux, so you luck out (at least it should be available, not sure when it was added):
(你说Linux,所以你运气好了(至少它应该可用,不确定何时添加):)
diff --brief --recursive dir1/ dir2/ # GNU long options
diff -qr dir1/ dir2/ # common short options
Should do what you need.
(应该做你需要的。)
If you also want to see differences for files that may not exist in either directory:
(如果您还想查看任一目录中可能不存在的文件的差异:)
diff --brief --recursive --new-file dir1/ dir2/ # GNU long options
diff -qrN dir1/ dir2/ # common short options
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…