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

Leave a Reply