Linux Shell Prompt turns to this -:/#

We login to our Linux SLES 12 SP4 server and shell prompt turns to this, any advise.
-:confused: # uname
Linux
-:confused: # hostname

-:confused: #
Thank you.

Hi and welcome to the Forum :slight_smile:
Check the .bashrc and .profile files for the user (root) also what shell is in use env | grep SHELL?

Thanks for the reply, here it is,
-:~ # env | grep SHELL
SHELL=/bin/bash
WINDOWMANAGER=env GNOME_SHELL_SESSION_MODE=classic SLE_CLASSIC_MODE=1 gnome-sess ion --session gnome-classic
-:~ #

Hi
So what is your expectation, for the hostname to be present?
<hostname>:~ # rather than -:~ #?

thanks malcolm, this is now ok, i thought it was big problem, there a change in the transient hostname,
tried the ff. command and Change Hostname then logoff then login it’s now ok,
a. hostname
b. /etc/hosts
c. /etc/hostname
thanks for the replies…