This article is a HOWTO on editing files using vi. Vi also known as Vim is a popular text editor for Linux/Unix.
What in God's Green Goodness Vi?
Vi is a very common text editor that is used in with Linux/Unix particularly from the command line. If you are new to Linux, you will definitely need to read up on Vi. Nearly every major daemon and/or config file will need to be edited from the command line at one point or another. You don't need to an expert, but you should know the basics. The examples below are from a machine running Red Hat Enterprise Linux Here we go...
Opening Vi
You can invoke vi straight from the command line.
[weaponx@roswell weaponx]$ vi
VIM - Vi IMproved
version 6.3.81
by Bram Moolenaar et al.
Modified by
Vim is open source and freely distributable
Become a registered Vim user!
type :help register for information
type :q to exit
type :help or for on-line help
type :help version6 for version info
Need More Help?
Did you find this helpful? Check out these other related articles: