User Tools

Site Tools


Nice stuff to do with diff commands:

Compare output of 2 commands


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: 2021/12/29 21:09 by warnaud