I'm using a Ubuntu Linux system, and every command I enter is displayed on the next line, followed by the output of the command. For example:
root@dpkube165:~# ls ls <--- why is this here? Desktop Documents Downloads root@dpkube165:~# date date <--- or this? Mon Mar 19 11:24:59 EDT 2018 root@dpkube165:~# echo "Hello, world!" echo "Hello, world!" <--- or this? Hello, world!
I thought it might have to do with the prompt, which is as follows (PS1):
but reviewing online guides to prompt escape sequences didn't turn up anything obvious.