I want to implement a progress bar showing elapsed seconds in bash. For this, i need to erase the last line shown on the screen ( command "clear" erases all the screen, i need to erase only the line of the progress bar and replace it with the new informations ).
Final result should look like :
"Elapsed time 5 seconds"
Then after 10 seconds i want to replace this sentence ( in the same position in the screen ) by: "Elapsed time 15 seconds"
Any clues to realize this,
Thanks.
Debugger