Question

In Unix / Linux, how tu run bash/shell command periodically every N seconds?


Annonce
Ad

Answer

watch -n N command
For example, to run ls -al every 5 seconds:
watch -n 5 ls -al


[source]
# ID Query