Date: Tue, 22 Feb 2011 13:39:06 -0700 From: Chad Perrin <perrin@apotheon.com> To: freebsd-questions@freebsd.org Subject: Re: bash can not find most of my commands Message-ID: <20110222203906.GA3608@guilt.hydra> In-Reply-To: <AANLkTimXgCDtS6BdjH4xXW6Bebro2vn6U5azoK3ikhDP@mail.gmail.com> References: <4D63E6F2.3050008@alokat.org> <4D63E92C.4060304@ifdnrg.com> <4D63EB2E.3080200@alokat.org> <20110222175313.GD3027@guilt.hydra> <AANLkTimXgCDtS6BdjH4xXW6Bebro2vn6U5azoK3ikhDP@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 22, 2011 at 10:07:54AM -0800, David Brodbeck wrote: > On Tue, Feb 22, 2011 at 9:53 AM, Chad Perrin <perrin@apotheon.com> wrote: >=20 > It turns out auto-completion with hinting and command history > searching are pretty addictive if you're used to having them. :) I have auto-completion, and I know my environment well enough that hints aren't generally helpful. >=20 > Personally, I usually just use sudo, or run bash as my first command > after gaining root powers. But it's very interesting to finally find > out what "toor" is for. I'd always wondered. Glad to be of some help. Just do us all a favor; don't write code in bash. Use Bourne shell (sh, not bash), or a "real" programming language (Perl, Ruby, Python, whatever). The bash option essentially tries to capture the power of such "real" languages, but does a very bad job of it -- and gives up the nigh-universal portability across Unix-like systems to do so. It's the worst of all worlds. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1kHuoACgkQ9mn/Pj01uKUXBACgn8O8YjLLZ68gyttrvzrlBOlf eJUAnj6Ri1MZy1fC489phASTSTZh5Fh/ =5rg8 -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110222203906.GA3608>