Unusual file: /bin/[

Steve O'Hara-Smith steve at sohara.org
Mon Jul 29 18:00:04 UTC 2013


On Mon, 29 Jul 2013 15:45:10 +0200
cpghost <cpghost at cordula.ws> wrote:

> On 07/29/13 15:25, Paul Macdonald wrote:
> > Hi, I spotted what i'd call an unusual file in the basejail on a jail
> > install, and have since seen this on other non jailed boxes.
> > 
> > -r-xr-xr-x   2 root  wheel   11488 Jun 10 12:19 [
> 
> That's a perfectly valid UNIX program used in
> (bourne) shell programming. It has been part of
> BSD Unix for ages. And I really mean AGES!

	<grin> I recall someone deciding that /bin/[ looked iffy and
deleted it from a FreeBSD 1.1.5.1 box busy serving connections to a bunch
of dial up users. An amazing number of things stopped working.

-- 
Steve O'Hara-Smith <steve at sohara.org>


More information about the freebsd-questions mailing list