H hardtech Honorable Apr 13, 2014 106 1 10,690 Aug 4, 2014 #1 I want help in setting user@hostname instead of bash-4.1 ....thanks in advance
Solution P P Pinhedd Aug 8, 2014 hardtech : I want help in setting user@hostname instead of bash-4.1 ....thanks in advance Code: export PS1="[\u@\h \W]\$" I believe that this is what you are looking for I also believe that it is the default PS1 for BASH on RHEL. If it is different, your system administrator may have overridden it. EDIT: quotes
hardtech : I want help in setting user@hostname instead of bash-4.1 ....thanks in advance Code: export PS1="[\u@\h \W]\$" I believe that this is what you are looking for I also believe that it is the default PS1 for BASH on RHEL. If it is different, your system administrator may have overridden it. EDIT: quotes
Ijack Splendid Jul 30, 2008 7,098 0 28,010 Aug 4, 2014 #2 Your question is unclear. Do you want to create a new user, change the bash prompt, or what? Please explain what you are trying to do and why. (Better yet, just read a few books about Unix/Linux.) Upvote 0 Downvote
Your question is unclear. Do you want to create a new user, change the bash prompt, or what? Please explain what you are trying to do and why. (Better yet, just read a few books about Unix/Linux.)
P Pinhedd Champion Aug 7, 2007 10,342 20 56,965 Aug 8, 2014 Solution #3 hardtech : I want help in setting user@hostname instead of bash-4.1 ....thanks in advance Code: export PS1="[\u@\h \W]\$" I believe that this is what you are looking for I also believe that it is the default PS1 for BASH on RHEL. If it is different, your system administrator may have overridden it. EDIT: quotes Upvote 0 Downvote Solution
hardtech : I want help in setting user@hostname instead of bash-4.1 ....thanks in advance Code: export PS1="[\u@\h \W]\$" I believe that this is what you are looking for I also believe that it is the default PS1 for BASH on RHEL. If it is different, your system administrator may have overridden it. EDIT: quotes