Re: looking for a script to display current location in filesystem
On Wed, 11 Dec 1996, cs51wcs wrote:
> I'm currently trying to figure a way to display where I am in the
> filesystem like in dos, but am having a hard time. Any assistance is
To display the current directory with a command:
To have the current directory in the prompt (I think this is what you
mean) (this only applies if bash is your shell):
$ PS1='[\u@\h:\w]\$ '
See the `PROMPTING' section of the `bash' manual page for other things you
can include in the prompt.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .