Refresh command using watch

To rerun automatically a comand use:

watch -n 1 --differences {COMMAND TO REFRESH}

For example, to see creation of docker containers:

watch -n 1 --differences docker ps

Leave a Reply