Bash Programming

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Thu Aug 19 05:03:04 UTC 2004


On Wed, Aug 18, 2004 at 05:12:40PM -0400, Devin Whalen wrote:
> > Bash-2.05b supports array, as evidenced by Linux box.  Your scripts
> > runs okey here on 2.05b and 3.0.
> 
> Ok...I ran it with ./file.sh and it worked fine!!  What is the
> difference between ./ and sh?  I don't want to make the same mistake
> again.
> 
> When things like this happen I begin to realize how little I know
> about computers :).

On Linux, /bin/sh and /bin/bash are the same thing.  Apparently not in
FreeBSD.  Try
    ls -l /bin/sh /bin/bash

-- 
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>
Open Geometry Consulting, Toronto, Canada
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list