diff --git a/cheatsheets/diff b/cheatsheets/diff index e2024ea..f9f2b3e 100644 --- a/cheatsheets/diff +++ b/cheatsheets/diff @@ -18,3 +18,6 @@ diff -q version1 version2 # To report whether the files are identical: diff -s version1 version2 + +# To diff the output of two commands or scripts: +diff <(command1) <(command2)