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?

  • 3
    watch is not a builtin. It is an external command. – muru Feb 6 '16 at 10:46
  • 1
    Something mangle your $PATH? – Jeff Schaller Feb 6 '16 at 11:07

watch is not an internal command:

$ type watch

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.