Skip to main content


developerWorks  >  AIX and UNIX  >

UNIX tips and tricks for a new user, Part 2: The vi text editor

developerWorks

Level: Intermediate

Tim McIntire (tm@timmcintire.net), Consultant, Freelance Writer

07 Nov 2006

Register now or sign in using your IBM ID and password.

The vi text editor might seem counterintuitive to new users but, make no mistake, there is a good reason this 30-year old tool is still widely used by many of the best developers in the world. The vi text editor separates operations into insert mode and command mode, which gives you ultrafast access to key commands that can edit, insert, and move text in on-the-fly, user-defined segments.

In this tutorial

  • Introducing vi

  • Navigating in vi

  • Inserting and editing in vi

  • Getting fancy

Prerequisites

You need a basic understanding of the command line for this tutorial. You should understand what files and directories are and be able to log in to your account on a UNIX®-like operating system.


System requirements

Access to a user account on any computer running any UNIX-like operating system is all you need to complete this tutorial. UNIX-like operating systems include the IBM® AIX® operating system, Linux®, Berkeley Software Distribution (BSD), Mac OS® X (using Terminal to access the command line), and many others.



Duration

2 hours


Formats

html, pdf


Share this....

digg Digg this story del.icio.us del.icio.us Slashdot Slashdot it!


Back to top


Document options

Document options requiring JavaScript are not displayed


My developerWorks needs you!

Connect to your technical community


More in this series:
UNIX tips and tricks for a new user