OT: environment variables, job control
From: Jamie (jamie_at_gnulife.org)
Date: 04/30/04
- Previous message: Warren Block: "Re: pad ip address with leading zeros in perl script"
- Next in thread: Jonathan Chen: "Re: OT: environment variables, job control"
- Reply: Jonathan Chen: "Re: OT: environment variables, job control"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Apr 2004 23:33:21 -0500 (CDT) To: freebsd-questions@freebsd.org
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."
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Warren Block: "Re: pad ip address with leading zeros in perl script"
- Next in thread: Jonathan Chen: "Re: OT: environment variables, job control"
- Reply: Jonathan Chen: "Re: OT: environment variables, job control"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Odd shell behaviour
... I have used the following shell sequence without any problems ... The idea is
to suspend execution of the shell script until ... than the pid of the sleep process.
... (comp.unix.solaris) - Odd shell behaviour
... I have used the following shell sequence without any problems ... The idea is
to suspend execution of the shell script until ... than the pid of the sleep process.
... (comp.unix.shell)