SUMMARY: PWD env variable in Linux

From: Spalding, Stephen <SSpaldin_at_mem-ins.com>
Date: Sat, 09 Jan 1999 11:23:17 -0600

My original message was:


"I've got another Linux question for you. I'm trying to set up my prompt in
> Linux to be likemmy ksh prompt in DEC UNIX, which has the full path name
> as
> part of the prompt (the $PWD environment variable). How do I do this in
> Linux? I've tried using the \W switch in the PS1 prompt variable, but that
> just gives the current directory, not the fully pathed out directory.
>
> PS - Is there a Linux mailing list out there that I should be sending
> these
> messages to?"
>
Bevan Broun gave me the correct answer to the first question. I needed the
\w switch instead of \W to get the full directory path on my prompt.

I've been given several places to look for linux mailing lists including:
> comp.unix.shell
> http://www.dejanews.com
http://www.yahoo.com

Thanks to all who replied.

-Stephen Spalding
Received on Sat Jan 09 1999 - 17:27:08 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT