After executing the command
in the bash terminal
:
printf 'A%.0s' {1..20}
A string consisting of twenty "A"
characters will print to the terminal string. What is annoying is that the command prompt will follow directly behind the printed string, which clutters the terminal and looks unsightly, looks like this :
AAAAAAAAAAAAAAAAAAAAubuntu@ubuntu-VirtualBox:~/Desktop$
That looks terrible. Is it possible to get the command prompt :
"ubuntu@ubuntu-VirtualBox:~/Desktop$"
To appear below the printed sequence of characters?
Thank You.