From owner-freebsd-questions@FreeBSD.ORG Sun Nov 6 23:39:24 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAEFD106564A for ; Sun, 6 Nov 2011 23:39:24 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 824F18FC12 for ; Sun, 6 Nov 2011 23:39:24 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id pA6NaAPt087769; Sun, 6 Nov 2011 18:36:10 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id pA6NaAaW087768; Sun, 6 Nov 2011 18:36:10 -0500 (EST) (envelope-from jerrymc) Date: Sun, 6 Nov 2011 18:36:10 -0500 From: Jerry McAllister To: Zantgo Message-ID: <20111106233610.GB87678@gizmo.acns.msu.edu> References: <288821E5-0392-49CA-BC85-0E550769C732@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <288821E5-0392-49CA-BC85-0E550769C732@gmail.com> User-Agent: Mutt/1.4.2.2i Cc: "freebsd-questions@FreeBSD.org" Subject: Re: Urgent!. Problem with / etc / rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2011 23:39:24 -0000 On Sun, Nov 06, 2011 at 01:10:28AM -0300, Zantgo wrote: > Without wanting to erase all contents of / etc / rc.conf, by > running "echo" slim_enable = "YES" "> / etc / rc.conf". > Please help!. First, please learn to break your lines at about 70 characters. It makes it easier to reply appropriately. Second, you should learn to use a text editor - most particularly the vi(1) editor wihch is distributed in /usr/bin/vi That will help your system administration a whole lot. Here is a web page with simplified info on using vi on a basic level. http://z2.cl.msu.edu/~jerrymc/project/editvi/ Third, to append to a file instead of replacing it when using echo double the '>' character - as in >> In your example, it would be: echo 'slim_enable="YES"' >> /etc/rc.conf ////jerry > _______________________________________________ > 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" >