Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Slackware10.2 default PS1 prompt is "bash-3.00#". I'd like to change it to '\u@\h:\w\$ ' like it shows in /etc/profile. I've tried 'declare -x' & other stuff I'd rather not mention. I don't want to change shells, just the default prompt. Thanks for any help!!
I'm pretty sure I've tried that, but it only stays true in that shell. If I open another window I'm back to the 'bash-3.00#'. I'll give it another try w/o the '-x'. Seems to be the same kind of problem as changing or adding to my PATH. BUILTINS rule.
But I'll try. Thanks!
I'm pretty sure I've tried that but it only changes that shell. If I open another one I'm back to where I started. Something to do w/ BUILTINS? Same problem changing my PATH. The change isn't permanent. I'll give it another shot anyway. Thanks!!
how do i change my prompt to a particular string, for example my name?
Please do not resurrect old threads especially if you do not provide anything relative.
Please re-read LQ Rules;
Do not post if you do not have anything constructive to say in the post.
When posting in an existing thread, ensure that what you're posting is on-topic and relevant to the thread. If the content of your post will interfere with the current discussion, you should start a new thread.
If you have a problem then create a new thread with your problem. Be sure to provide relative information so we can aid in solving the issue(s).
FYI: I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem or query.
HINT: Do a LQ Search with keywords 'bashrc prompt' produces several helpful threads/posts. One of my posts may help.