You want to follow command result continuously. Use watch
1. Install
1
brew install watch
2. Usage
1
watch -n <number_of_seconds> <command>
For example
1
watch -n 5 kubectl get all -o wide
The result of “kubectl get all -o wide” command will be reload every 5 seconds