Choosing a command is to analyze a piece of data and take out what we want. or by analyzing the keywords, get the line we want! In general, the selection command is usually for a row of data for analysis, not the entire information analysis.CutThe
The feeling speaks very detailed, instantly understood the grep, regular.From:hereBrief introductiongrep (Global search Regular expression (RE) and print out of the line, full search of regular expressions and print out rows) is a powerful text
The vast majority of databases run on Linux and UNIX platforms, and as the X86 platform's computing power nears or exceeds minicomputer, and in the tide of the IoE, more and more database environments run on Linux platforms.The Linux system is large
Tag: Class not returns LIN filename ASC sof open matchTransferred from: http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856896.htmlBrief introductiongrep (Global search Regular expression (RE) and print out of the line, full search of regular
The IndexOf () function is used to find the first occurrence of a substring in the current string. This function belongs to a string object and is supported by all major browsers. Here's a detailed discussion of the index0f () function of JavaScript
Here is a summary of some of the most recent learning points about bashBlog Park-Bang Bang sauce Good * * *get the shell to workLogin action, System to a shell: recorded in/etc/passwdviewing the system versionLsb_release-aBash Shell1.Command Editing
Brief introductiongrep (Global search Regular expression (RE) and print out of the line, full search of regular expressions and print out rows) is a powerful text search tool that uses regular expressions to search for text. and print out the
Linux Directory Architecture
/root directory
/bin commonly used commands binary file's catalogue
/boot store files that must be read when the system is started, including the core (kernel)
/boot/grub/menu.lst Grub Settings
/boot/vmlinuz kernel
RAM
VBScript Properties
Description
language Elements
Returns or sets a descriptive string associated with an error.
Description Property
Returns the location where a match is found in the search string.
1. Click the menu button in the upper right corner and click "Options".
2. Find "Search" in "Basic Settings" and click "Manage Search Engine".
3. Other search engines listed the search you have used, if the list already has
Regular Expressions Learning Notes
A regular expression (regular expression) describes a pattern of string matching that can be used to check whether a string contains
There is a seed string, a matching substring is substituted, or a substring is
[root@www ~]# grep [-ACINV] [--color=auto] ' search string ' filename options and Parameters:-A: Search the binary file as a text file-C : Calculates the number of times to find the ' search string '---I: Ignores case differences, so
Linux VI Replacement string
1. Basic replacement: s/vivian/sky/replaces current line first Vivian for Sky: S/vivian/sky/g replaces current line all Vivian for Sky: N, $s/vivian/sky/replaces the first n line to the top Vivian for each line in the
1. Basic Replacement
: s/vivian/sky/replaces current line first Vivian for Sky
: S/vivian/sky/g replaces current line all Vivian for Sky
: N, $s/vivian/sky/replaces the first n line to the top Vivian for each line in the last line of Sky
: N,
grep command:grep full Name: Global Regular expression Print, which fully searches the regular expression and prints out the line, with the function of the egrep using the parameter-EThe difference between grep and Egrep is that grep supports only
Brief introductiongrep (Global search Regular expression (RE) and print out of the line, full search of regular expressions and print out rows) is a powerful text search tool that uses regular expressions to search for text. and print out the
One, string lookup 1. Using/And in Vim to find a string, the difference is that /string highlights the first string that matches the cursor after the carriage return, and the cursor moves to the first letter of the string; ? string highlights the
1. Basic replacement: s/str1/str2/replaces the current line the first str1 is str2: S/str1/str2/g replaces the current line with all str1 as str2: N, $s/str1/str2/replaces the first str1 of each row in the beginning of the nth row to the last row is
how to jump to the end of a file after using VI under LinuxPageDown Key Continuous PressEven though I used it, I was too stupid. Asked the master, the method is to press SHIFT+G, in addition, to the beginning of the file is GG.Linux VI Find
grep referencefirst, basic usage[[email protected] ~]# grep [-ACINV] [--color=auto] ' search string ' filename options and Parameters:-A: Binary file search data as text file-c: Calculate find ' search string ' The number of times-I: Ignores the
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.