watch and grep command

Date: 26/11/2024

watch command

 watch -n 0.1 ./your-script

This is used to run a script over and over for every 0.1 seconds

watch and grep

 watch -n 2 'grep -H "availability" file1 file2 file3'