From owner-freebsd-questions@FreeBSD.ORG Fri Feb 18 01:00:18 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9632816A4CF for ; Fri, 18 Feb 2005 01:00:18 +0000 (GMT) Received: from mxsf09.cluster1.charter.net (mxsf09.cluster1.charter.net [209.225.28.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id D337243D46 for ; Fri, 18 Feb 2005 01:00:17 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from mxip25.cluster1.charter.net (mxip25a.cluster1.charter.net [209.225.28.155])j1I10GPF009383 for ; Thu, 17 Feb 2005 20:00:16 -0500 Received: from c68.115.42.98.static.ona.wi.charter.com (HELO [10.0.1.2]) (68.115.42.98) by mxip25.cluster1.charter.net with ESMTP; 17 Feb 2005 20:00:17 -0500 X-Ironport-AV: i="3.90,96,1107752400"; d="scan'208"; a="186318725:sNHT39650418" In-Reply-To: <6e7bb06fe08fad36bc5731d525f49879@usc.edu> References: <6e7bb06fe08fad36bc5731d525f49879@usc.edu> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-3--615288758" Message-Id: <7e2a109a6a6d358081135311bf079a6c@secure-computing.net> Content-Transfer-Encoding: 7bit From: Eric F Crist Date: Thu, 17 Feb 2005 19:00:13 -0600 To: Digish Reshamwala X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.619.2) cc: freebsd-questions@freebsd.org Subject: Re: Shell script question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Feb 2005 01:00:18 -0000 --Apple-Mail-3--615288758 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Feb 17, 2005, at 3:13 PM, Digish Reshamwala wrote: > Hi, > > I am trying to run one of my installation shell script using the > command- > > bash resetapp.sh > > & it gives me the error as- > 'bash: not found' > > How do I install bash? I am using FreeBSD/i3b6 5.2.1 > > Also, whats the command to check which version of FreeBSD I am using? > > Please help me out, > > Thanks a lot, > macuser Generally, shell scripts use sh, not bash. uname -a will give you a full output of system/kernel version. To install bash, type the following command as root: # cd /usr/ports/shells/bash && make install clean HTH _______________________________________________________ Eric F Crist "I am so smart, S.M.R.T!" Secure Computing Networks -Homer J Simpson --Apple-Mail-3--615288758 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iEYEARECAAYFAkIVPh0ACgkQRAAY9knOW+pWzwCePkNqLfw8suOHjI87q++QmSlk i80An1Pa+KJJKyw0gPZhQzaHogppGSvH =AKDS -----END PGP SIGNATURE----- --Apple-Mail-3--615288758--