Ano-Tech Computers
Enter keyword:

Incorrect user prompt in Linux (bash)
Problem:
Instead of the default "[user@hostname directory]#" prompt, the user gets a simple prompt like "bash-2.05a$".
 
Solution:

Verify that the user's ".bashrc" and ".bash_profile" files exist, that they have not been corrupted, and that permissions/ownership is correct.
 
Discuss this solution
Did this article solve your problem? Yes No Did not apply

We welcome anyone who is willing to contribute to this public knowledge base, contact siteadmin@atc.no if you have information you would like to share. The idea is not to replace the commercial support sites, but to publish those hard-to-find solutions you've found yourself looking for over and over again.

Show all articles