[Techtalk] shell scripting

Maria Blackmore mariab at cats.meow.at
Tue Feb 11 02:02:06 EST 2003


On Mon, 10 Feb 2003, Emma Jane Hogbin wrote:

> On Mon, Feb 10, 2003 at 04:47:20PM -0800, Laurel Fan wrote:
> > I'm curious; what shell are you using?
> 
> I was afraid you were going to ask that...bash?

`echo $SHELL` :)

You can ensure that your scripts are executed with bash by putting the
string "#!/bin/bash"[1] at the very beginning of the very first line.

Maria

1. Hash bang bin bash ... sounds like a song name, doesn't it?




More information about the Techtalk mailing list