[EMAIL PROTECTED] wrote:
> i would differ.
Free to.
> what is the purpose of Lakshmi creating a child shell by giving /bin/sh
> and coming out without doing anything there?
He would know the purpose best. I told him what would happen if he did
what he did by ./script.
> i guess that he wants to "cd /usr/local" in the new child shell.
He also might want to prepare tea for all of us [yawn].
> how to do THAT?
To call a new shell and affect commands in that? Call the shell manually
and then call script. Like
/bin/bash script
Then it will execute in /bin/bash.
Rohit
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.