Results 1 to 5 of 5
Thread: BSD Environment Question
-
06-20-2002, 07:31 PM #1Web Hosting Master
- Join Date
- Dec 2000
- Location
- Leesburg, VA
- Posts
- 3,209
BSD Environment Question
Its been about 4 years since I touched a BSD machine, and I am finding that I am a little rusty .
I want to set my environmental variables so that it shows the current directory as part of the prompt, as I am sshing around the box.
Where do I make that change?
-
06-20-2002, 08:05 PM #2WHT Addict
- Join Date
- Oct 2001
- Location
- Canada
- Posts
- 157
It depends on your shell, not the system.
A little search on PS1 bash PWD gave me this: http://www.cuug.ab.ca/~leblancj/labs/prompts.html
-
06-20-2002, 09:08 PM #3Web Hosting Master
- Join Date
- Dec 2000
- Location
- Leesburg, VA
- Posts
- 3,209
Originally posted by taz0
It depends on your shell, not the system.
thanks again
-
06-21-2002, 12:03 AM #4Web Hosting Master
- Join Date
- Jan 2001
- Posts
- 2,605
If you're more familiar with bash, why not just install it?
Dr. Colin Percival, FreeBSD Security Officer
Online backups for the truly paranoid: http://www.tarsnap.com/
-
06-21-2002, 12:11 AM #5Web Hosting Master
- Join Date
- Dec 2000
- Location
- Leesburg, VA
- Posts
- 3,209
Originally posted by cperciva
If you're more familiar with bash, why not just install it?