> 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 > list my working directory. So I tried the following: > > If I use, > export PS1='\w:\\$ ' > > I get, > ~:$ ^ This is your working directory - ~/ is short for your home directory. If you did cd /etc/init.d, then the prompt would say
/etc/init.d:$ Matthew -- Elen sila lumenn' omentielvo Steward of the Cambridge Tolkien Society Selwyn College Computer Support http://www.geocities.com/Area51/Chamber/8841/ http://www.cam.ac.uk/CambUniv/Societies/tolkien/ http://pick.sel.cam.ac.uk/