From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 696 invoked from network); 23 Feb 1999 02:47:36 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Feb 1999 02:47:36 -0000 Received: from ns1.fidalgo.net (root@ns1.fidalgo.net [206.129.156.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id VAA15649 for ; Mon, 22 Feb 1999 21:31:35 -0500 Received: from mail.fidalgo.net (uct@mail.fidalgo.net [206.129.156.5]) by ns1.fidalgo.net (8.8.8/8.8.5) with SMTP id SAA17192 for ; Mon, 22 Feb 1999 18:31:25 -0800 (PST) Date: Mon, 22 Feb 1999 18:31:24 -0800 (PST) From: Ron Farrer To: axp-list@redhat.com Subject: Re: I can't get into my system! In-Reply-To: <001b01be5ed1$17fa2d80$0200a8c0@ironside.alphalinux.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 22 Feb 1999, Peter Petrakis wrote: > Funny thing. I brough my Alpha box to school to test it as an application > and X server on the network there for 25 win 98 machines > using xclients. I had to change my ip stuff and changed my inittab to > runlevel 5 to do this. So I forgot to reset my old settings for my box and > brought it home and then to my surprise I find out that it hangs on boot. > > Specificly it hangs on "starting sendmail" and then I'm stuck. I searched > the archives and found that neat trick to get into the RH setup and use the > ash shell to do stuff. So I did that and found the files > I wanted to modify and proceeded to use emacs. There was no emacs :( So I > tried vi. I popped open a file, fumbled around a little and finaly finished > up and to my embarisment I found that I did not know the command to save the > file. help was not available and using quit told me I had to use ! to > override something. > > So my question is could some kind soul please tell me how to save a file in > vi? Thank you. > > > Peter Petrakis > While in vi type ":wq" (without quotes) and that will quit and save the file. ":w" will save and not close, ":q!" will quit without saving. HTH, Ron