Re: Setting Prompt
ktb wrote:
> In /etc/profile I added the line,
> export PS1='\h:\w\$ '
>
> This is the readout I got,
> crossyourfingers:~$
>
> This wasn't what I wanted I only want the current working directory to
> show. I took a look at the man page for bash. It said that "\w" would
~ is the name of your $HOME directory (try "cd ~" or "ls ~", or even
"echo ~")
--
Conrado Badenas (Assistant Lecturer)
Department of Thermodynamics. University of Valencia
c/. Doctor Moliner, 50 | e-m: Conrado.Badenas@uv.es
46100 Burjassot (Valencia) | Phn: +34-63864350
SPAIN | Fax: +34-63983385
Reply to: