Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2000
    Location
    Leesburg, VA
    Posts
    3,205

    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?

  2. #2
    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

  3. #3
    Join Date
    Dec 2000
    Location
    Leesburg, VA
    Posts
    3,205
    Originally posted by taz0
    It depends on your shell, not the system.
    taz -- great links, thanks!! Yea, the problem is I turned into a lazy bash user, and couldn't remember my way around csh . I searched through the BSD documentation and google for environmental information -- but I was obviously looking for the wrong thing .


    thanks again

  4. #4
    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/

  5. #5
    Join Date
    Dec 2000
    Location
    Leesburg, VA
    Posts
    3,205
    Originally posted by cperciva
    If you're more familiar with bash, why not just install it?
    Because it has been a long time since I used csh, and I like playing with all the toys . I have my linux box at home with a bash shell...so this is different for me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •