watch
List of commands for watch:
-
watch:ai:3608a Watch ethernet activity in real time on the screen$ watch -n 1 'cat /proc/net/dev | grep eth0'try on your machineexplain this command
-
watch:tldr:2cc06 watch: Monitor disk space and if it changes, stop monitoring.$ watch -g ${df}try on your machineexplain this command
-
watch:tldr:34ee2 watch: Repeatedly run a command and show the result.$ watch ${command}try on your machineexplain this command
-
watch:tldr:918d7 watch: Repeatedly run a pipeline and show the result.$ watch '${command_1} | ${command_2} | ${command_3}'try on your machineexplain this command
-
watch:tldr:b60e4 watch: Monitor the contents of a directory, highlighting differences as they appear.$ watch -d ${ls -l}try on your machineexplain this command
-
watch:tldr:e6c11 watch: Re-run a command every 60 seconds.$ watch -n ${60} ${command}try on your machineexplain this command