Bash and SH path

Richard E Miles r.godzilla at comcast.net
Thu Nov 4 23:01:48 UTC 2004


> Hello
> 
> 
> Here is the path in /.profile and /home/user/.profile :
> 
> PATH=/usr/bin:/usr/:/bin:${PATH}
> export PATH
> /bin/bash
> ps1="hostname"
> 
> but command prompt isn't change by ps1 command which is located
> in last line .
> any help will apreciate .
> 
> thanks

The variable ps1 should be capitaized. Try PS1 and that should change it.

-- 
Richard E Miles
Federal Way WA.
registered linux user 46097




More information about the fedora-list mailing list