Shell variables - help

Conor P. Cahill cpcahil at virtech.uucp
Thu Oct 11 10:05:06 AEST 1990


In article <1339 at ul-cs.ulowell.edu> mchetan at hawk.ulowell.edu (Munisuvratha Chetan) writes:
>How do I tell the current shell to execute the shell program in
>the current shell, and NOT in a new shell ?

What you need to do is "source" the sub-shell.  The way you do this
varies depending upon which shell you are talking about.  Both the Korn (ksh)
and Bourne (sh) shells use ".".  So if you wanted to re-run your .profile
and have its settings apply to your current shell you would enter:

	. ./.profile

-- 
Conor P. Cahill            (703)430-9247        Virtual Technologies, Inc.,
uunet!virtech!cpcahil                           46030 Manekin Plaza, Suite 160
                                                Sterling, VA 22170 



More information about the Comp.unix.questions mailing list