N
N
nak-alexey2021-01-06 23:57:24
linux
nak-alexey, 2021-01-06 23:57:24

Remove line break after executing command in Linux terminal?

Hello! After executing commands in the interpreter, the prompt to enter the command starts on a new line, is it possible not to break the line?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xotkot, 2021-01-07
@xotkot

yes, as an example:

seq 1 1000000 | while read i; do echo -en "\r$i"; done

there are more options with tput

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question