When I ssh as root to a remote machine, the command output looks like this:
However, if it's a non-root user, all I see is:
How can I get the same behavior as for the root user? Why is it different?
The "command output" that you referred to is called "the prompt". At the end of the prompt usually there is a character (in
Controlling the prompt depends on the shell that you use. For
Your next prompt will change to something like:
Refer to the PROMPTING section in
To change the prompt permanently, put the export line in