Install Link to heading
It might not be available by default on your system so make sure you install it:
# Manjaro / Arch
sudo pacman -S procps-ng
# Alpine
apk add --update procps
Run Link to heading
Prefix all your commands with watch
and they’ll be executed every 2 seconds:
watch pwd
Press CTRL + C
to quit.
Utility Link to heading
It’s useful for viewing things that change over time, like your temperature readings:
watch sensors