The -d option highlights differences between successive runs of the command being watched:
$ watch -d 'COMMANDS'
# Highlight new network connections for 30 seconds
$ watch -n 30 -d 'ss | grep ESTAB'
Linux Shell Scripting Cookbook - Third Edition
by Shantanu Tushar
Published by
Packt Publishing, 2017
The -d option highlights differences between successive runs of the command being watched:
$ watch -d 'COMMANDS'
# Highlight new network connections for 30 seconds
$ watch -n 30 -d 'ss | grep ESTAB'