Reference symbols protect special metacharacters and parameter extensions in the parser using 3 ways: backslash (\), single quotation mark ('), double quotation mark ("").Single and double quotes must be matched to protect special metacharacters and
Reference symbols protect special metacharacters and parameter extensions in the parser using 3 ways: backslash (\), single quotation mark ('), double quotation mark ("").Single and double quotes must be matched to protect special metacharacters and
https://www.zhihu.com/question/21418449Mort | Zsh vs. Bash: Incomplete contrast resolution (1) 2014-10-07BdpqlxzWhat's the difference between zsh and bash?A lot of people have written about "why zsh is better than bash", "Why zsh is better than
Bash string processing (against Java)-2. String Representation (String constant)
In JavaYou know!Use single quotes to indicate character constants: 'C'Double quotation marks are used to indicate a String constant: "hello world" Java character escape\
1. For I in 'ls *. mp3'
Common Mistakes:
for i in `ls *.mp3`; do # Wrong!
Why is it wrong? Because the for... in statement is segmented by space, the file name containing space is split into multiple words. If you encounter 01-Don't eat the
Under Linux, the status of Bash is negligible, and the daily management and operation of Linux is mostly done in bash, so in order to improve the productivity of Linux, it becomes the problem of how to use bash efficiently. While some of the special
1. What is shell?
In fact, I have heard of shell before I came into contact with Linux. At that time, I was talking about shell programming and I knew nothing about it. But surprisingly, I remember this term when my memory is really bad. Okay,
The wildcard asterisk number (*) represents a question mark (?) that matches 0 or more characters. Represents a matching single character in parentheses number ([0-9]) that represents a single digit character between matching 0~9 brackets plus the
Introduction to Linux Shell wildcard, metacharacters, escape character usagesWhen it comes to shell wildcard characters (wildcard), they are often used when used. Here is an example:
1
1
1 shell overviewThe shell is a command interpreter that provides the user with an interface system-level program that sends a request to the Linux kernel to run the program. The user can start, suspend, stop, or even write some programs with 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.