Dear Steve:
You are right about # being the beginning of a comment.
However, the combination #! indicates that an executable will follow
setting up a new shell to work with.
For instance, if you run the script from CSH or TCSH all the command have
to be CSH based. If you add the line '#!/bin/sh' at the beginning of the
script, it will start a Bourne Shell within your shell and then will execute
all the commands that follow.
I hope this helps.
Bye,
Gabriel
>From: "Joseph S. Gardner" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: [newbie] ppa
>Date: Wed, 25 Aug 1999 07:19:30 -0400
>
>Steve Philp wrote:
>
> > Manny Styles wrote:
> > >
> > > I have an Iomega Zip 100 parallel port zip drive connected to my
>system.
> > > When I used Mandrake 5.3, it was detected during installation, and was
>ready
> > > to be mounted when I first started the system. with 6.0, it was not
> > > detected, and would not mount until I used "modprobe ppa".
>Unfortunately,
> > > this does not completely fix the problem. I have to use modprobe
>everytime
> > > I start my linux system in order to mount my zip drive. Is there a
>way I
> > > can get around this, and/or have the ppa module load at boot?
> >
> > Sure, create a file /etc/rc.d/rc.modules that contains:
> >
> > #! /bin/sh
> >
> > modprobe ppa
> >
> > Then set it to be executable:
> >
> > chmod +x /etc/rc.d/rc.modules
> >
> > And it'll be run auto-magically whenever you boot.
> >
> > --
> > Steve Philp
> > Network Administrator
> > Advance Packaging Corporation
> > [EMAIL PROTECTED]
>
>Steve,
>
>What is the line #! /bin/sh for? I thought the "#" char. signified a
>comment to follow?
>
>Joe
>
>
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com