Rohit wrote:
>
> [EMAIL PROTECTED] wrote:
> > what is the purpose of Lakshmi creating a child shell by giving /bin/sh
> > and coming out without doing anything there? i guess that he wants
> > to "cd /usr/local" in the new child shell. 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.
>
does it mean that we can't start a shellscript in a child shell
automatically (as against manually) at the time of creating the shell?
(something like "autoexec.bat" in dos)
regards.
-vulcan
-----------------------------------------------------------------------
Check out the 'What to do before posting to the list' site
for a list of things to try before posting. The site is
at http://botsie.tripod.com/beforeposting/