Watch equivalent in zsh

zsh

In bash, watch (e.g. watch -n 5 ls -l) could be used to repeat the command at fixed intervals.

This command seem to be missing on zsh. Is there an equivalent?

Best Answer

watch is not an internal command:

$ type watch
/usr/bin/watch

so make sure it installed on the system where you are running zsh.

Related Question