ObjectiveMYSQL/MARIADB is an open-source small-scale relational database management system, because of its small size, speed, low total cost of ownership, especially the open source, many small and medium-sized web sites in order to reduce the total
Basic usage of the Linux BOC editor sedHow to deal with SEDReads the file into memory by default----> reads conforming rows into memory that belongs to SED (the mode space of sed) for editing----> display the contents of the post-processing mode
Special symbols for Liunx
Represents a number of letters or numbers? Any one character"#" Comment\ de-Semantic characters| Pipe character
1.* represents any arbitrary character or number[[email protected]/]# ls *.txt1.txt[Email
Before introducing the Nano editor, Vi/vim is more powerful in functionality, so it is common to write scripts using the Vi/vim editor. Vim adds a more friendly editing interface to the VI and makes it easier to find errors.It can also be called
Vi Visual Interface Bill JOY,S.U.N SPARC SunOS (Solaris)Vim:vi improvedModal Editor:Edit mode (Command mode):----> Default mode of operationLast-line mode:---->Input mode (insert mode):---->Replacement mode:---->Visualization mode:---->How to open
Vim/vi is a very common text editor under Unix/linux, most of the machines have VI, on different machines commonly used in different variants of software which VIM is more useful also used more widely vim is the abbreviation of VI improved,
Sed is an online line editor that processes one line at a time. When you are working, place the currently processed rows in the "mode space" for editing, and then transfer the content to the screen after editing is complete.Syntax: sed [OPTION] ... {
Cat input and Output commandsCat input from standard input device, output from standard output deviceCat > file input from standard input device, output to file, overwrite source file, if append, use cat >> fileCat Cat file2 Copy the contents of
A regular expression is a pattern that describes a set of strings, and there are many character sets that consist of and metacharacters characters of ordinary words. The primary function of regular expressions is to perform text searches and string
First, the origin of the regular expression:The "ancestors" of regular expressions can be traced back to early studies of how the human nervous system works. Warren McCulloch and Walter Pitts the two neuroscientists have developed a mathematical
Wildcard characters:File name wildcard is one of the features of bash, and wildcards are typically used for file name matching.*: Any character of any length? : Matches any single character[]: matches any single character in the specified
Vim's 3 Modes of operation: Command mode, input mode, last line modeCommand format: # VIM [option] ... [FILE] ...-O: Open multiple files in horizontal split screen-O: Open multiple Files in portrait split screenCtrl+w+s: Horizontal Split to display
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
Under Linux to do development, or even only to do management and maintenance work, but also the use of vim. As a novice, I am also just in touch, this section of my daily use or collection of vim common commands recorded.Of course, you can learn all
We often need to search the documentation for content that meets our requirements, which may be scattered around the document in every corner. Can use keywords such as/keyword or? Keyword one search, and I might not just want to search for keywords,
To define a resource:Type {' title ':attribute1 = value1,Attribute2 = value2,}Important: Type indicates that the resource type must be lowercase; title is the name of the resource and must be unique under the same type;Common resource types:User,
Initialization
Apple Official document initialization
Apple document Chinese translation initialization
Class, struct, enumeration, the process of preparing an instance, called initialization . This process requires the
Bash programming arrays and string handlingDirectoryNote Date 20180405ArrayFame (Create) array declare-a array_nameAssignment of array elements array_name= ("VAL1" "VAL2" "VAL3" ...)Referencing an array element: ${array_name[index]}Bash's string
Enumeration
Apple Official Document enumeration Apple official document Chinese translation enumeration
Enumeration syntaxenum SomeEnumeration { // enumeration definition goes here}enum CompassPoint { case north case south
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.