I'm wondering if there is a method to have a bash script present data to the console and consistently update it. Much like the functionality of top, but in a more simple form.
watch -n 1 <your-command>
From the watch(1) man page:
Execute a program periodically, showing output full screen
You need to use curses for this. Here's one detailed article about curses usage.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With