• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Red Hat question: prompt display full path?

TJN23

Golden Member
I'm running redhat and my command prompt looks like this when i navigate to /usr/bin:

[root@myhostname /bin]#

How do I get it to look like this:

[root@myhostname /usr/bin]#
 
I dont know to make that prompt exactly but to make it look like the dos path you can make it look similar.
My prompt is /root/home:>

You get this by adding the following line to the end of your /etc/bashrc file I believe.
PS='$PWD:> ';export PS1
 
Back
Top