Date: Thu, 17 Feb 2005 19:00:13 -0600 From: Eric F Crist <ecrist@secure-computing.net> To: Digish Reshamwala <reshamwa@usc.edu> Cc: freebsd-questions@freebsd.org Subject: Re: Shell script question Message-ID: <7e2a109a6a6d358081135311bf079a6c@secure-computing.net> In-Reply-To: <6e7bb06fe08fad36bc5731d525f49879@usc.edu> References: <6e7bb06fe08fad36bc5731d525f49879@usc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7e2a109a6a6d358081135311bf079a6c>