[nzlug] Re: OMG, I can no longer run 'sudo' !
Sid Bachtiar
sid.bachtiar at gmail.com
Sat Aug 12 13:10:10 NZST 2006
> > Everyone using a UNIX shell should at least know how to get out of vi.
> > <esc>:wq
>
> More like
>
> <esc>:q!
>
> Quit without saving is more useful than save-and-exit.
>
> (which is wq or x)
I virtually hit just about every keys on the keyboard with my head
trying to get out of that vigr command. I tried ESC, Q, CTRL+Z,
CTRL+X, etc. I googled up quite a few keywords (from my other machine)
with no luck. In the end, I just rebooted the machine and used nano.
Oh well, at least I now learned how to get to the GRUB boot-menu and
start the recovery mode.
--
http://sid.homelinux.com/blog
More information about the NZLUG
mailing list