Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2004 18:58:55 -0500
From:      Trey Sizemore <trey@fastmail.fm>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to edit file in single user mode
Message-ID:  <41AA663F.2030106@fastmail.fm>
In-Reply-To: <20041128201638.N66254@cactus.fi.uba.ar>
References:  <41AA5AFC.2090902@fastmail.fm> <20041128201638.N66254@cactus.fi.uba.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
Fernando Gleiser wrote:

>On Sun, 28 Nov 2004, Trey Sizemore wrote:
>
>  
>
>>I made a typo in rc.conf and now am able to boot only into single user
>>mode.  I thought vi would be available to edit the file, but cannot
>>execute it (vi not found).  How can I edit my rc.conf at this point/
>>    
>>
>
>After you drop into single user, say the magic words:
>
># mount -a
>
>that will mount all the filesystems and then vi will be available.
>
>
>			Fer
>  
>
D'oh....sorry.  Dumb question, but thanks for answering anyway!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41AA663F.2030106>