[KPUG] stuck in visudo

Matt Winslow winslow4 at gmail.com
Wed Sep 12 20:49:48 PDT 2012


Hi Betsy (& all),

Here's an intro to using vi that I found helpful:

http://www.washington.edu/computing/unix/vi.html

Thanks,
Matt

On Wed, Sep 12, 2012 at 11:20 PM, Elizabeth Rosenzweig <
errosenzweig at gmail.com> wrote:

> Thank you that worked, I was beginning to think I would spend the rest of
> my life entering random Esc codes to see if one would get me out!!!
>
>
> On Wed, Sep 12, 2012 at 10:17 PM, Griffin Kelton <griffin.kelton at gmail.com
> > wrote:
>
>> Betsy,
>>
>> I'm on a mac, but Control + X will ask you if you really want to save it,
>> type in 'y' for yes. It will ask you what to name the file. Press enter to
>> keep it sudoers.tmp.
>>
>> Griffin Kelton
>> (919)306.1135
>> www.griffinkelton.com
>>
>> Please consider the environment before printing this email.
>>
>>
>>
>> On Wed, Sep 12, 2012 at 11:12 PM, Elizabeth Rosenzweig <
>> errosenzweig at gmail.com> wrote:
>>
>>> Hey guys, I can't get out of visudo.  I've tried using both Esc and
>>> Ctrl-[ to get out of insert mode, and then all of the exit codes I can
>>> find: ^X, ZZ, and :x.  ^X just results in a typed 'X', ZZ results in
>>> alternating messages [ Suspension enabled ] and [ Suspension disabled ],
>>> and :x gives me a [ unknown command ] message.  Does anyone have any idea
>>> how I can get out of visudo?
>>>
>>> Thanks,
>>> Betsy
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/kpug-pm/attachments/20120912/d8b1a16f/attachment-0001.html>


More information about the KPUG-PM mailing list