How to delete and replace last line in the terminal using bash?

后端 未结 7 1204

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, but

7条回答
提交回复
热议问题