From owner-freebsd-questions Fri Oct 5 22: 5: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id D83E037B403 for ; Fri, 5 Oct 2001 22:05:03 -0700 (PDT) Received: (qmail 15871 invoked by uid 100); 6 Oct 2001 05:05:03 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15294.37119.324531.444745@guru.mired.org> Date: Sat, 6 Oct 2001 00:05:03 -0500 To: "Ronnie Clark " Cc: questions@freebsd.org Subject: Re: Need Help Badly! In-Reply-To: <21857791@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ronnie Clark types: > It seems I fat-fingered someething during my make and buildworld > session and renames /bin/sh to "[". Is there a backup copy > anywhere else in the filesystem? [ is a hard link to /bin/test. If you just mv'ed it, and didn't copy it, then all you need to do is put back the hard link. You can test that by "ls -i /bin/test /bin/\[". If that prints different inode numbers, then test should be ok. So move \[ back to sh if you need to, then recreate the hard link: # cd /bin # ln test \[ http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message