[Solved !!! ] Linux Terminal, Prompt changed to "Bash 4 2" ?



[Solved !!! ] Linux Terminal, Prompt changed to "Bash 4 2" ?

[Solved !!! ] Linux Terminal, Prompt changed to "Bash 4 2" ?

Let’s learn how to change a Linux terminal that prompts something like ‘-Bash-4.2’. This kind of prompt in the Linux terminal may appear with a number of causes.
The one is, when you create a new user with the custom home directory.
The other is that or they are removed accidentally from the user’s root or home directory.
And the other cause may be that the prompt variable which is $PS1 is not set and the built-in default variable s-v$ is used.
Now, let’s see how to get the interactive bash terminal prompt in Linux for whatever cause that’s changed to Bash-4.2.
This solution will help you to crack real time problems.

Comments are closed.