[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: newbie Q?



On 21 Oct 2002, Ben Dugdale wrote:

> On Mon, 2002-10-21 at 11:00, Ray B wrote:
> > what is this, and what does it mean?
> >
> > #!/bin/sh
>
> It tells the computer what it's reading... and the path to said
> programming language.
>
> #!/bin/sh
> Is probably a symbolic link to your default shell (likely BASH).

/bin/sh is the Bourne Shell, one of the original Unix shells (and still a
least common denominator).  In Linux, this is just a link to BASH (the
Bourne-Again Shell), which is pretty close to a superset of sh and serves
in its place.

It wouldn't be too useful if your default shell whas C-shell to have
/bin/sh be your default shell...

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs clemson edu
http://www.math.clemson.edu/~mjs





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]