Watch difference & repeat command

watch -n 5 --difference ls -l # Watch every 5 seconds - (SO)

If you wish to have visual confirmation of changes, append --differences prior to the ls command.

Written on July 11, 2018, Last update on
cli shell diff