1

Ok hard to explain in few words so

I was wondering how instead of creating a new line......like lets say I want to:

while true; do echo "hello"; sleep 1; done

then I want it to count the number of times it goes through, but instead of it repeating on the next line it just changes it

Would that need some drawing scripting like x11

while true; do echo "hello $(date +%S)"; sleep 1; done
  • Use a carriage return \r. – Michael Homer Feb 4 '15 at 7:07
  • ^^^ Yeah it was – Alex Feb 4 '15 at 7:23

Browse other questions tagged or ask your own question.