Find BasicsFile Lookup: The process of locating a qualifying file on a file system;File Lookup command: Locate, findLocate: A non-real-time lookup tool that relies on a pre-built index, which is built automatically when the system is idle (periodic
What I brought to you today is vim,find, the use of commands, and some of the bash environment variables.
Vim commandThe VI command is the most common full-screen plain text editor in Unix operating systems and UNIX-like operating systems.
1. Summary of the use of the text Editing tool vim650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/A4/wKiom1Xpq2-CsSpzAAXcWbe4sX4262.jpg "title=" Vim usage Diagram "alt=" Wkiom1xpq2-csspzaaxcwbe4sx4262.jpg "/>2. File Find command
Brief introduction:Vim is a well-known, powerful, highly customizable text editor similar to VI, which improves and adds many features on the basis of VI. Vim is purely free software.Three modes General mode:Vim opens a file and goes into general
in Linux there are three swords that deal with text, and what I'm going to say now is the use of the grep regular expression, which is just a notation, as long as the tool supports this notation, The tool can then handle the string of regular
The application of grep and regular expressionsLinux Text Processing Three musketeers:grep: text filtering tools;sed : Text editor (line); stream Editorawk : Text report Generator; awk implementation on Linux is Gawkgrep : Global search REgular
Basic Regular Expression grep commandFirst, Summary:grep, Egrep, FgrepDivided into two categories:Basic Regular Expressions: BREExtended Regular expression: ERE1. Grep:global Search REgular expression and Print out of the line.Function: The text
Learning resources from: www.magedu.comMistakes are unavoidable in the learning process, and if found, they are also pointed out by the great gods.Some of the sample operations are related to historical operations, and if the previous example
sed CommandWorking mechanism: Each time a line of text is read into "pattern space", the processing is done in the mode space, and the processing result is output to the standard output device;Grammar : sed [OPTION] ... {Script} [Input-file]
To view text:1.cat: Connect and display textInverted display of the Tac:cat-N: Add rows at the beginning of each line display-E: line breaks displayed per row-A: Displays all, including text and various special symbolsThe text newline character for
Find a very detailed Linux shell script tutorial, in fact, not only the shell script programming, but also introduced the system of various commandsHttp://vdisk.weibo.com/s/yVBlEojGMQMpvThis book is divided into five parts, in detail the shell
Vim EditorText editor, word processorNano, SEDVi:visual Interface (Visual Interface)Vim:vi improvedMode editor, full screen editorOne: Open file# Vim/path/to/somefile
Vim +#/path/to/somefile Open/path/to/somefile and locate the file # line
Note: #表示数字, . Represents the current row, $ represents the last line, +# the down # line, and $-1 the penultimate lineSet line number last row mode set Nu/numberFirst, before opening the file[Email protected] tmp]# vim + inittabVim + filename Opens
A), the three major text processing of Linux grep:grep (Global search REgular expression and print out of the line, fully search for regular expressions and print them out): After giving a list of files or standard output, grep searches for text
awk Basic usage:awk [Options] ' program ' file1 file2program:pattern{ACTION STATEMENT} is made up of statements, and the statement delimiter is a semicolonAction:print, printfoption:-F: Indicates the input field delimiter-V var=value: variable
Full Screen text editorVI:Vim:vi ImproveModal editor Edit mode (Command mode) Last-line mode Insert modeReplacement modeVisualization mode1 VI2 Vim file3 Vim + Number file If the number of rows positioned is greater than the maximum number of
Vi:visual InterfaceVim:vi improvedVim is a full-screen editor and a modal editorVim mode:Edit mode (Command mode)Input modeLast-line modeMode conversion: Default is in command modeCommand--Input:I: Inserted in front of the character that the current
First, the role:Grep:global serch REgular expression and Print out of the line.A text search tool that matches the target text line by row according to the user-specified pattern (filter condition);Second, common options:grep [OPTIONS] PATTERN [FILE
The mode of running the program;The Linux system divides itself into two parts, the core software, which is kernel, also known as kernel space, and the other part is a normal application, which is called user space.Code in user space runs at a lower
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.