sheek
01-18-2002, 10:44 PM
I did not have an /etc/bashrc file so i created one under slack 8.0 but it still says the same bash-205
is there some other file i must point to my bashrc file ?
is there some other file i must point to my bashrc file ?
|
Click to See Complete Forum and Search --> : BASH sheek 01-18-2002, 10:44 PM I did not have an /etc/bashrc file so i created one under slack 8.0 but it still says the same bash-205 is there some other file i must point to my bashrc file ? bdl 01-18-2002, 11:23 PM You'll want to create one in your home directory called .bashrc (note the 'dot'). If you want to change your prompt, you still need to put it in the .bashrc file like so: # example ~/.bashrc PS1="\u@\h:\w \\$" export PS1 # eof You can, of course, change the system-wide prompt by changing it in /etc/profile or /etc/bashrc if one exists. Luck! [ 18 January 2002: Message edited by: bdl ] justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |