From owner-freebsd-stable Wed Jul 15 17:57:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA16270 for freebsd-stable-outgoing; Wed, 15 Jul 1998 17:57:31 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from geeklab.globalserve.net (geeklab.globalserve.net [209.90.144.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA16259 for ; Wed, 15 Jul 1998 17:57:28 -0700 (PDT) (envelope-from philipp@globalserve.net) Received: from localhost (philipp@localhost) by geeklab.globalserve.net (8.8.8/8.8.7) with SMTP id VAA25868; Wed, 15 Jul 1998 21:20:21 -0400 (EDT) X-Authentication-Warning: geeklab.globalserve.net: philipp owned process doing -bs Date: Wed, 15 Jul 1998 21:20:21 -0400 (EDT) From: Peter Philipp To: AAZ <187@leopard.com> cc: Scott Sewall , freebsd-stable@FreeBSD.ORG Subject: Re: help! In-Reply-To: <199807160038.SAA26783@smtp.leopard.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG it's a short form for test, that's why it's linked to test, when in a shell script you do the following if [ -f /var/run/program.pid ]; then echo "program already running, exit.."; exit 1 fi this is in it's long form written if test -f /var/run/program.pid; then echo "program .." .. fi Hope that helps, Peter Philipp (PP2441) Globalserve System Administration "How I wish you were here..." - Pink Floyd On Wed, 15 Jul 1998, AAZ wrote: > Hi all, > Thanks, I'm a newbie to this and yes that was the problem. I went to the > 2nd cdrom, and found the [ binary. Brought the network up manually and > moved it over. > Rebooted and everything is A-OK. Now, can anyone explain to me what the > function of the [ binary is? > > thanks a ton everyone. > -aaz > > At 05:11 PM 7/15/98 -0700, Scott Sewall wrote: > >As noted by tom@uniserve.com, a program named [ should be > >in /bin. This program is a link to /bin/test. No need to > >restore from backups. > > > >>From my system: > > % ls -li /bin/[ /bin/test > > 239 -r-xr-xr-x 2 bin bin 45056 Mar 24 17:51 /bin/[* > > 239 -r-xr-xr-x 2 bin bin 45056 Mar 24 17:51 /bin/test* > > > >If you have /bin/test then all you need to do is create > >the link for [. > > > >-- Scott > > > > > > > >AAZ wrote: > >> > >> Hi all, > >> I have been running freeBSD for about a 2 weeks now with no problem. Today > >> I was just configuring some printer stuff and everything was working fine. > >> Anyways, I rebooted the box and when it came back up it the console pompt > >> said "freeBSD (Amnesiac)". > >> > >> During bootup the system got done fscking the main disk, turned on the swap > >> partition (swapon) then began and spitting things out on the console in the > >> form: > >> [: not found > >> [: not found > >> Starting network daemons: [: not found > >> [: not found > >> > >> bizarre. Need help please! > >> thanks a ton. > >> > >> To Unsubscribe: send mail to majordomo@FreeBSD.org > >> with "unsubscribe freebsd-stable" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message