Is it possible to have bash script output multiple lines over the same
lines without 'clear'?
Bash script which outputs some stats.
while :
do
date
sensors | grep "temp1"
sensors | grep "Core"
acpi
sleep 1
done
It's possible to have one liner, like date and output it over and over the
same line using echo -ne "$(date)\r". Is it possible to do same with more
than one line without using clear?
No comments:
Post a Comment