Forrest logo
back to context overview

watch

List of commands for watch:

  • watch:tldr:2cc06 watch: Monitor disk space and if it changes, stop monitoring.
    $ watch -g ${df}
    try on your machine
    explain this command
  • watch:tldr:34ee2 watch: Repeatedly run a command and show the result.
    $ watch ${command}
    try on your machine
    explain this command
  • watch:tldr:918d7 watch: Repeatedly run a pipeline and show the result.
    $ watch '${command_1} | ${command_2} | ${command_3}'
    try on your machine
    explain this command
  • watch:tldr:b60e4 watch: Monitor the contents of a directory, highlighting differences as they appear.
    $ watch -d ${ls -l}
    try on your machine
    explain this command
  • watch:tldr:e6c11 watch: Re-run a command every 60 seconds.
    $ watch -n ${60} ${command}
    try on your machine
    explain this command
back to context overview