On 16 Jul 2002 11:37:26 +0800
Sacha Chua <[EMAIL PROTECTED]> wrote:

> Scripts start a new shell and execute in it, so any changes they make aren't
> reflected in the parent shell. If you have a shell script named foo.sh, however,
> "source foo.sh" will make it run in the parent shell, and any changes you make
> there will be available.

Should this then be the first line of mthe script? My first line is"

   #!/bin/bash

Should I change this to:

   #/source foo.sh

Or can I just place the line anywhere?

Thanks! God bless!

-- [Manny Amador] ----------------------------- [[EMAIL PROTECTED]] --
   Member: Philippine League for Democratic Telecommunications, Inc.
                       "Affordable Access for All!"
-- [Distributed Development Network (DDN)] ------- [www.distdev.com] --
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to