Command prompt showing -bash-4.2$ instead of [username@gw03 ~]$ How to change this back?


#1

I have been noticing that the command prompt is showing
-bash-4.2$
after the login, However there is no issue in running the hdfs and sqoop commands.
I am wondering how did this change from my username
[bylakshmikanth@gw03 ~]$

and with -bash-4.2$ i still see the present working directory as /home/bylakshmikanth
When i change the directories, the change is not displayed on the prompt and still shows -bash-4.2$,
however the pwd command showing the right directory path.

what i want here is to see the prompt as [bylakshmikanth@gw03 ~]$ as it was before.
How can i get this back. Thank you !


#2

@bylakshmikanth Issue resolved, try login now.


#3

I am again getting this issue, could you please rectify. Thank you !


#4