Bash printf: Clear entire line using Ctrl+U

后端 未结 0 1323
攒了一身酷
攒了一身酷 2021-02-08 02:23

I am trying to create a setup, using bash, which clears the line on command and prints a new one. Currently, I have this:

printf "\\r                                 


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题