Geert Hendrickx | 3 Jan 2007 12:54
Picon
Favicon

Re: How to edit fstab when in single user?

On Wed, Jan 03, 2007 at 10:39:46PM +1100, Andrew Reilly wrote:
> Use ed, it's pretty straight-forward, and well worthwhile
> learning the few main commands.  It can be much easier for
> getting yourself out of situations like these than getting
> yourself into a situation where you can use vi.
> 
> On the other hand, if you've got /usr, and enough of the rest of
> your file system mounted to actually be able to *run* vi, then
> you could also just use ex, which is the command-mode of vi,
> which doesn't need a smart terminal, either.

As of NetBSD 3.1, ex(1) is also available in /rescue.

	Geert


Gmane