Home | Articles | About | Contact | Forum |
Thursday, November 21, 2024



Lunarpages.com Web Hosting

Mailing List

E-mail:
By Joining the mailing list you will be notified of site updates.


Show Your Support For
This Site By Donating:











Audience: Newbies - Self Learners
Last Updated:
Original Creation Date:
**All times are EST**



HOWTO - Edit files with vi

By Erik Rodriguez

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:

HOWTO - Edit files with vi
HOWTO - Adding Users to Groups
HOWTO - Using Sudo for Root Privilege
HOWTO - Viewing Uptime in Linux
HOWTO - View Running Tasks in Linux




TCP vs. UDP
Juniper SRX anti-spam filtering config
Windows Server 2008 Clustering Configuration
Windows 2008 R2 Network Load Balancing (NLB)
Extreme Networks: Downloading new software image
Juniper SRX save config to USB drive
Juniper SRX logout sessions
Extreme Networks Syslog Configuration
Command line drive mapping
Neoscale vs. Decru
Data Security vs. Data Protection
Juniper SRX Cluster Configuration
HOWTO - Create VLAN on Extreme Switch
Using a Non-local Colocation Facility
Linux Server Administration
IT Chop Shops
Flow Viewers: SFLOW, NetFLOW, and JFLOW
Exchange 2007 Back Pressure
IPtables open port for specific IP
Politics in IT Departments
HOWTO - Block Dropbox
Cisco IOS Cheat Sheet
Subnet Cheat Sheet
Design a DMZ Network
How DNS works
Firewall Configuration
Juniper SSG Firewalls
Server Management
Configuring VLANs
Runlevels in Linux
Server Clustering
SONET Networks
The Red Hat Network
Server Colocation
Complicated Linux Servers
Dark Fiber
Data Center Network Design
Firewall Types
Colocation Bandwidth




Copyright © 2002-2016 Skullbox.Net All Rights Reserved.
A division of Orlando Tech Works, LLC
By using this site you agree to its Terms and Conditions.
Contact Erik Rodriguez