Skip to content

Editing WITH vi editor

To edit /etc/yum.conf with vi, run:

sudo vi /etc/yum.conf
  • Press i to enter insert mode and make changes.
  • Press Esc, then type :wq and press Enter to save and exit.
  • To exit without saving, use :q!.

An den Anfang scrollen