. Profile in bash.
This editor is the most commonly used tool in all computer systems. In UNIX, the editors include ex, sed, and VI. Among them, VI is the most widely used, while VI commands are numerous. The Forum does not seem to have a summary of this. The following is a
I. vi introduction vi is the most common full-screen editor in the unix world. In linux, it uses vi's enhanced vim version. vim is fully compatible with vi, and vi is quot; visualinterface quot;. It can
I. Vi introduction
I. Vi Introduction
Vi is the most common full-screen editor in the unix world. in linux, vim is the enhanced vi version. vim is fully compatible with vi. vi is the abbreviation of "visual interface. It can perform output, delete,
VI Editor
I. UNIX editor Overview
Editor is an important tool for using computers. In various operating systems, editors are essential components. UNIX and similar IX
The operating system series provides a series of ex editors, including ex, edit, Ed, and
Vi. Ex, edit, and
I. Introduction
VI is the most common full-screen editor in the Unix world. in Linux, VIM is the enhanced VI version. Vim is fully compatible with vi. VI is the abbreviation of "Visual Interface. It can perform output, delete, search, replace, block operations, and many othe
When using the vi Editor-whether it's a first-time user or experienced user-most people tend to only master the Core Command set and these commands can execute the most common functions: navigate or save the file; insert, update, delete, or search for data; exit but do not save the modification.
However, the vi
Ii. Linux basic commands, VI Editor, Linux software installation, vilinux
Basic Linux commands
1. File Operations
A) Windows is a multi-root file system with one or more hard disks physically divided into C, D, and E ...... Disk. Each disk is a tree. Linux is a single file system, regardless of the CDE disk. Multiple h
Vi (vim) is a commonly used editor on Linux. By default, vi (vim) is installed in many Linux distributions ). There are many vi (vim) commands, but if they are used flexibly, the efficiency will be greatly improved. Vi is short fo
is a commentSet Nu "Show line numberSet Hlsearch "lookup string anti-white displaySet backspace=2 "Can be deleted at any time with backspace barSet autoindent "Auto IndentSet ruler "show status on the bottom rowSet Showmode "display mode in the lower left cornerSet Bg=dark "displays a different background color and can also be lightSyntax on "Grammar check, color display(12) DOS and Linux break characters (file conversion)Dos2unix [-kn] file [NewFile]Unix2dos [-kn] file [NewFile]-K: Preserves t
the beginning of the first line of the file to the end of the last line.----:%s/$/some string/g Add "some string" at the end of each line of the file.----:%s/string1/string2/g Replace "string1" into "string2" throughout the file.----: 3,7s/string1/string2/replaces only "string1" in the 3rd line of the file to the 7th line as "string2".----Note: where S is substitute,% for all rows, G represents global.----5. Edit 2 files Simultaneously, copy the text from one file and paste it into another file
The vi editor is a standard editor for all Unix and Linux systems. It is not inferior to any of the latest text editors. Here we just briefly introduce its usage and a few instructions. The vi editor is identical for any version of Unix and Linux systems, so you can learn mo
Vi (Visual Editor) Common commands, vieditor
Visual Editor is an effective and relatively simple full-screen editing tool that allows you to create and edit files, including documents, reports, and text, just remember a few basic commands, you can start and learn moreAnd the
: At the end of the line where the cursor is located, convert to input mode
O: Create a new row below the current cursor line and switch to input mode
O: Create a new row above the current cursor line and switch to input mode
S: Delete the character of the cursor
R: Replace the character at the cursor
You can use the direction keys to move the cursor in input mode3.3 Baseline Command mode (last line mode)Command mode to enter a colon to the bottom line command modeBaseline p
Commonly used commands of the vi editor in Linux system: linuxvi
Vi is a text editor in Linux. Beginners may be troubled by a large number of commands. Here, I have screened some common comman
about VI
VI is a kind of text editing program that exists widely in various UNIX and Linux systems.
VI is not a typesetting program, but a purely text-editing program.
VI is a full screen text editor, it has no menus, only
The use of common commands for the Linux VI editor
There are many kinds of text editors under Linux, VI is the most commonly used, and it is also standard for each version of Linux. Note that VI is just a text editor
Vi is the most common text editor on Linux/Unix. It is used to create, edit, and display text files. Www.2cto.com Vi has no menu and only commands. Vi filename enters the command mode, and command mode enters the insert mode, you can use I, a, o key 1, insert command a after
not save direct exitOpen a new file or read into other file contentsIn the current VI editor, you can edit a new file by executing the last line command in the form ": E New file ".In the current VI editor, the last line in the form of ": R other file " reads the contents of the other file and copies it to the current
VI Editor can be divided into 3 states, they are command mode, input mode and the last line mode, vi run after the default into the command mode.Command mode: Controls the movement of the screen cursor, the deletion and substitution of characters, words or lines, the copying and pasting of data, and the insertion and end-of-line modes.Input mode: In command mode,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.