What does Linux watch -d or –differences=permanent option do?

You can use watch -d or –differences=permanent to highlight the differences between successive updates. If the optional permanent argument is specified then watch will show all changes since the first iteration.


Create and execute a script that inserts one new line every 2 seconds indefinitely.

Example of watch -d or  –differences=permanent option:

Leave a Reply