Linux Command Line: An Admin Beginners Guide by Troy Hearth

Linux Command Line: An Admin Beginners Guide by Troy Hearth

Author:Troy Hearth [Hearth, Troy]
Language: eng
Format: azw3, epub
Published: 2020-06-05T16:00:00+00:00


The Powerful Built-In vi Editor

Most Linux distributions include some built-in editors such as vi, nano or emacs. The vi editor is very light-weight and is commonly built-in even on space-constrained Linux distributions such as the Raspberry Pi.

vi & vim

Vi is a text editor for Unix and Unix-like systems, such as Linux. Enter vi by typing vi into the command line and pressing Enter . You may be taken to vim, which is okay because vim is a lot like vi with a few extra features.

vim

Typing vim will also allow you to use a text editor in the terminal. The abbreviation vim stands for "vi improved" in Linux, and it offers a few features not found in previous versions of the vi text editor.

vimtutor

This section will provide an overview of the vi and vim editors but a vim tutorial is built into most Linux distributions and can be viewed by typing vimtutor. The tutorial will take less than an hour and has been helping people learn to use vi and vim for many years.

vi/vim Basics

The vi/vim editor has 3 modes, command mode, insert mode, and visual mode.

Command Mode - This is the default mode and lets you move around in the editor, exit the editor, and search for text. Press the Escape key to return to Command Mode from the other modes.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.