VI editor – Linux command line editor

http://blog.eduguru.in/linux-2/the-vi-editor

http://t4test.com/blog/unix-linux-shell-script-introduction-to-shell-scripting/

http://t4test.com/blog/cpio-a-backup-program/

http://t4test.com/blog/read-making-shell-script-interactive/

http://t4test.com/blog/root-system-administrator-super-user-part-1/

http://t4test.com/blog/etchosts-the-host-file/


VI editor

 VI operates in three modes for performing different functions.

—-The Command Mode is used to enter commands that operates on text or control cursor motion.

—-The Input Mode is used to enter text.

—-The ex Mode (or last line mode) is used for line handling and substitution.

Input mode is used to insert (i and I), append (a and A), replace (r and R), change (s and S) text and open a line (o and O). This  mode is terminated by pressing [Esc]  .

The ex Mode is invoked by pressing a: in the command mode. You can save your work (:w) , exit the editor after saving (😡)  and quit without saving (:q and :q!).

S-NET-EXPERT-TECHNOLOGY
S-NET-EXPERT-TECHNOLOGY

Related Posts

  • 55
    No matter what work you do with the Unix/Linux system, you will eventually write some C programs or shell (or perl)  scripts. You may have also edit some of the system files at times. For all this you must learn to use an editor, and Unix provides a very versatile…
    Tags: mode, vi, command, editor, text
  • 35
    Welcome to the Linux Knowledge Base and Tutorial so you want to learn how to use the Bash command line interface (terminal) on Unix/Linux. Or, it's part of a subject you're doing and so you're learning it because you have to. Either way, that's great. You're learning how to use…
    Tags: linux, text, editor, command
  • 32
    The vi Editor http://t4test.com/blog/unix-linux-shell-script-introduction-to-shell-scripting/ http://t4test.com/blog/read-making-shell-script-interactive/ http://t4test.com/blog/cpio-a-backup-program/ Backup Using TAR Backing up your files using tar is very simple you just type a little command. tar -cvpzf /BackupDirectory/backupfilename.tar.gz /ImportantData/directory/path Let’s suppose i have directory called /imp-data on root and i want to make backup of this directory including sub directories on…
    Tags: command, linux, editor, shell, http://t, vi

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: