Re: Urgent!. Problem with / etc / rc.conf
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"
>
_______________________________________________
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"
討論串 (同標題文章)
完整討論串 (本文為第 9 之 9 篇):