Single quotation marksPurpose: In order to protect the text from being converted. That is, except for the single quote, all the text inside the single quotation marks is output as is.1. [[email protected] sp49ep9]# echo ' $*>$*>2. [[email protected]
Character expansion*This "*" character means matching any character in the file nameThe shell expands "*" into something else, before the echo command is executed.~ Home DirectoryArithmetic expression expansionAn arithmetic expression expands using
Linux Shell Parameter extension (Parameter Expansion), parameterexpansion
The main reference: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
Other materials:
This article main reference: HTTP://PUBS.OPENGROUP.ORG/ONLINEPUBS/9699919799/UTILITIES/V3_CHAP02.HTML#TAG_18_06_02Other information:http://www.ibm.com/developerworks/cn/linux/l-bash-parameters.htmlThe parameter extension is represented as:
The main reference in this paper: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02Other information:http://www.ibm.com/developerworks/cn/linux/l-bash-parameters.htmlThe parameter extension is represented by:
Today, a friend asked, the next difference, by the way review.
Single quotes differ from double quotes:
The fields inside the double quotes are interpreted by the compiler and then exported as HTML code.
' Single quotes inside without
There has been some confusion about single and double quotes, and this section discusses the issue of single and double quotation marks.First, the basic knowledge1. Single quotation marks in C language are used to denote character literals2. Double
In this chapter we is going to look at some of the ' magic ' that occurs on the command line when you press the Enter KEY.W Hile we'll examine several interesting and complex features of the shell,we would do it with just one new command:
Ix. unfoldingThe expansion of the command line is done after splitting the word into words. There are seven types of expansion: curly brace expansion, wavy line expansion, parametric and variable expansion, command substitution, arithmetic expansion,
Create user MCC identified by manager; Note here that the password should not be extended with single quotes.
Drop user mcc cascade; Direct Delete user
Create user MCC identified by manager D Efault tablespace mcc01 temporary
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.