On Wednesday 24 December 2003 17:35, Richard Urwin wrote: > On Wednesday 24 Dec 2003 3:26 pm, Anne Wilson wrote: > > It should be possible to change the fstab with vi. I'm no > > expert, but you can get by in emergencies with only a very few > > commands. > > > > Launch it with > > vi fstab > > (you'll need to be root, of course) > > > > To go to edit mode you can choose > > a - for append > > i - for insert > > Esc to leave append or insert mode. > > > To for insert here. > > > > Navigate with arrows > > > > When you've done you go back to command mode with Esc > > > > Save your work with > > > > :w > > > > and quit > > > > :q
Probably the shortest guide to vi ever written <g> Anne -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet?
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com