also be replaced by any letter A to Z, you can complete multiple replication tasks.Nyy//Copy the current row down n rows to the buffer, or you can use "Anyy copy," A is a buffer, a can also be replaced with any letter A through Z, you can complete multiple replication tasks.YW//Copy the character from the beginning of the cursor to the ending.NYW//Copy n words starting from the cursor.y^//Copy the contents from the cursor to the beginning of the line.y$//Copy the contents from the cursor to the
Vi is a very common full-screen file editor in the Unix world. It can be said that almost any Unix machine will provide this software, just like Windows notepad. Type vi/etc/hosts to enter the vi interface and move the cursor to t
Differences between the vi and nano commands during Ubuntu text editing (nano is recommended)
Vi is a very common full-screen file editor in the Unix world. It can be said that almost any Unix machine will provide this software,
Tags: string for select blog multiple status letter vim tmp(a) What is Vi/vim?Almost all the configuration files in the Linux world exist in plain text, and the VI editor is available on all Linux distribution systems, so it is convenient to easily modify the various configurations of the system with simple text editing software.
"Some little-known but interesting Unix/Linux commands" series:
Some little-known but interesting Unix/Linux commands (1)
Some little-known but interesting Unix/Linux commands (2)
Some little-known but interesting
Introduction: For text operations, there are more operations besides cutting and pasting, especially when the GUI is not used. In this article, the author explains how to use the gun text toolkit for text processing. After learning this article, you will process the text like an expert.
Overview: This article introduces "filters" that can be used to build complex pipelines to process text. You will learn how to display text, sorting, word and ROW statistics, conversion, and other operating techn
In the current text editor era, the default Linux editor is still vi or vim. The Linux vi commands discussed in this article will help novice administrators better use vi.
This is inseparable from Linux
inject the sound in the default buffer zone ││ Paste to this line; if the default buffer contains ││ Multiple words, paste these words to the right of the cursor. │├ ── ┼ ── ─│ P │ if the default buffer contains a line of text, the current ││ Insert an empty hole in front of the row to insert the default buffer zone ││ Paste to this line; if the default buffer contains ││ Multiple words, paste these words to the left of the cursor│└ ── ┴ ── ─6. save and exit┌ ── ─│ Command │ description │├ ── ─
Vi (Vim) keyboard chart and its basic commands
Vi (Vim) keyboard chart and its basic commands:
Go to vi
Vi filename open or create a file and place the cursor at the beginning of the first line
double quotation mark''Move to the beginning of the row where the first row is located (after the cursor moves)-two single quotes
19.At the same time when vi multiple files, the CTRL-SHIFT-6 back to the previous file, in the VI file and the last VI file switch.But I found a bug: when I switched to the previous file with a CTRL-SHIFT-6 and checked the multi-file
There are three status modes in the VI editor1. Command mode2. Input mode3. Last-line modeConversion between three modes Vi. Start and exit of the VI editorgo directly to the editing environment$ VIenter the editing environment and open (new) file$ VI myfile Exit VI Editing
When using a git command that can has a large amount of output (like git log , git diff or git blame ), Git opens the command outpu T in our terminal "pager"; On most modern unix-based systems, the default pager would be ' less '. Learning a few less commands would help us deal with this git command output that opens in the pager. In this lesson, we show some of the very useful of the less
1.Xcode Operating principle
When we click Run, Xcode automatically does the following things for us:
Compile--->.o (target file)---> Links--->.out execution
2. Common UNIX Commands
Mac system uses UNIX file system, all files are placed in the root directory/below, so there is no concept of windows in the C-drive, D-Disk
Becau
, paste these words to the right of the cursor. │├ ── ┼ ── ─│ P │ if the default buffer contains a line of text, the current ││ Insert an empty hole in front of the row to insert the default buffer zone ││ Paste to this line; if the default buffer contains ││ Multiple words, paste these words to the left of the cursor
│└ ── ┴ ── ─6. Save and exit ┌ ── ─│ Command │ description │├ ── ─│ Zz │ save and exit │├ ── ─│: W filename │ Write File │├ ── ─│: W │ write files │├ ── ─│: X │ save (if the curren
VI is an extremely popular full-screen document editor in the Unix world, and almost any UNIX machine will provide this software as a Notepad for Windows . Type vi/etc/hostsEnter the VI interface and move the cursor to the end of
Grep command series: How to Use grep commands in Linux/UNIX
How can I use the grep command in Linux, Apple OS X, and other UNIX-like systems? Can you give me some simple examples?
The grep command is used to search for text, or to search for a file containing a given string or word in a row from a given file. In general, grep displays the matched rows. Use grep t
One. The standard editor for UNIX Linux is VIVI Three state modes: Command mode, insert mode, and bottom line mode (last lines). You can generally classify the bottom row mode as command mode① Command mode: Controls the movement of the screen cursor, the deletion of characters, words or lines, and moves to copy an area and into insert mode, or bottom line mode.Note: Both the insert mode and the bottom row m
represents a number, enter a number after the colon, and then press ENTER to jump to the line, such as enter the number 15, and then enter, will jump to the 15th line of the article. C) Find the character [/keyword]: First press the [/] key, then enter the character you want to look for, if the first keyword is not what you want, you can always press [n] will look back to the keyword you want. [? keyword]: press [?] First Key, and then enter the character you want to look for, if the first keyw
Vi is a widely used text editor in unix/linux. vi has various variants and different variant software on different machines. among them, vim is relatively easy to use and widely used. vim is short for ViIMproved, indicating better vi. this article describes some of the usefu
the line. VPS Detectivey$//Copy the contents from the cursor to the end of the line.P//Paste the contents of the Clipboard after the cursor, if the previous custom buffer is used, it is recommended to use the "AP to paste."P//Paste the contents of the Clipboard before the cursor, if the previous custom buffer is used, it is recommended to use the "AP to paste."Ix. replacement (used in the VI command mode): S/old/new//Replaces the first occurrence of
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.