software:cli:bash:diff
Table of Contents
Nice stuff to do with diff commands:
Compare output of 2 commands
Basic
diff <(command 1) <(command 2)
Side by side
diff -y <(command 1) <(command 2)
You can control the width of the columns
diff -y --width= XXX<(command 1) <(command 2)
Where XXX is the number of columns
software/cli/bash/diff.txt · Last modified: by warnaud
