newbie PS1 config question

Ko Pu ko_pu at hotmail.com
Sun Jan 25 17:41:22 UTC 2004


PS1 question:
How can I change the PS to display the current directory? According to 
documentation, the \w should show the current directory, but when I used it, 
it showed ~, what I'm looking for is to display info similar to pwd.

prompt question:
I'm using dsl modem, so the ip address is dynamic, and the prompt showed the 
ip address, how can I change it to my computer name? I added it to my 
/etc/host but I still got the ip address. This is what I have in my prompt.
[kpu at d209-121-129-174 Linux]$

Thanks in advance for your comment/suggestion

Ko Fei Pu
mailto:ko_pu at nospamhotmail.com

_________________________________________________________________
Scope out the new MSN Plus Internet Software — optimizes dial-up to the max! 
   http://join.msn.com/?pgmarket=en-us&page=byoa/plus&ST=1





More information about the fedora-list mailing list