How to edit file in single user mode

Trey Sizemore trey at fastmail.fm
Sun Nov 28 15:58:48 PST 2004


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!


More information about the freebsd-questions mailing list