OT: environment variables, job control

Jamie jamie at gnulife.org
Thu Apr 29 21:33:45 PDT 2004




   I'm using FreeBSD 4.9. Hopefully this is not too far off-topic.

   My login shell is set to /bin/csh. Why is it that when I:

% /bin/sh
$ echo $SHELL

  I get:
$ /bin/csh


   Also, I noticed that when I invoke sh , and I:

$ sleep 40

   The sleep process has a different process group ID than the parent
(shell). I thought by default the bourne shell did not support job
control. From my understanding, it will support job control if you use the
-m switch.


     - Jamie




Greetings from Minneapolis, MN, United States

"A friend is someone who lets you have total freedom to be yourself."


More information about the freebsd-questions mailing list