Home > Articles > Certification > Other IT

Basic vi Skills for the Linux LPIC Exams

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
With an eye towards passing the LPIC I exam, this chapter will help you prepare and practice your basic vi skills with sample questions and detailed answers.

Terms you'll need to understand:

  • Command mode

  • Insert mode

  • LastLine mode

  • Message line

  • Named buffers

  • The Unnamed buffer

Techniques you'll need to master:

  • Opening a file for editing

  • Saving and exiting files

  • Searching for text, including ranges and regular expressions

  • Navigating within a file, including using the H, J, K, and L keys

  • Searching and replacing text using different methods

  • Setting, unsetting, and displaying options for vi

  • Executing commands within vi

  • Performing advanced editing functions

Editors

The LPI exams focus on vi as the default editor for Linux. No matter how much you think emacs rocks, or that pico/nano is much easier to use with the onscreen menus, it's essential that you have basic vi skills.

  • Share ThisShare This
  • Your Account

Discussions

Make a New Comment

You must log in in order to post a comment.

Related Resources

Jennifer  BortelWin FREE iPhone Developer Books and Videos- Introducing @InformIT Giveaways
By Jennifer Bortel on February 5, 2010 No Comments

Apples’s recent iPad announcement made our hearts flutter so we couldn’t resist making an announcement of our own!

Today marks the first ever @InformIT Giveaway!

We’ll regularly post a video like this one profiling spectacular prizes we’re giving away—from books and videos to T-shirts and other exciting stuff. Check out the video below to see the giveaways for today, and then scroll down for more prize details and instructions on how to win them!

So Far So Good
By John Traenkenschuh on February 2, 2010 No Comments

So far, Win 7 is making a thoroughbred of what has been a plough mule laptop

Dustin Sullivan"Every OSX developer should have this book on their desk."
By Dustin Sullivan on February 1, 2010 No Comments

That was the sentence Mike Riley ended his recent Dr Dobb's CodeTalk review of Cocoa Programming Developer's Handbook with.

See All Related Blogs

Informit Network