From owner-freebsd-questions@FreeBSD.ORG Wed Feb 16 23:11:27 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D6A416A4CE for ; Wed, 16 Feb 2005 23:11:27 +0000 (GMT) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id C99BF43D3F for ; Wed, 16 Feb 2005 23:11:26 +0000 (GMT) (envelope-from Mike.Jeays@rogers.com) Received: from unknown (HELO ?192.168.2.100?) (mjeays2551@24.114.152.139 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 16 Feb 2005 23:11:25 -0000 From: Mike Jeays To: aklist_061666 In-Reply-To: <03fb01c51457$3f246ff0$0b01a8c0@enigmedia.net> References: <03fb01c51457$3f246ff0$0b01a8c0@enigmedia.net> Content-Type: text/plain Message-Id: <1108595484.708.8.camel@chaucer.jeays.ca> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 16 Feb 2005 18:11:25 -0500 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: can't reboot after messing up my rc.conf file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 23:11:27 -0000 On Wed, 2005-02-16 at 13:42, aklist_061666 wrote: > Hi All: > > I was editing my rc.conf file and left off a quote mark, and now when I try > to reboot I get an error and am prompted to drop into shell to fix it. > > The default prompt is /bin/sh, and if I hit return I get a prompt. > > How can I edit the file while I'm in that prompt? VI doesn't work...is there > another text editor I can use to fix the file? > > TIA > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" /bin/ed Be prepared with a printed manual and a wet towel for your head!