In other languages, we often see logical symbols appearing in judgment statements, such asif (a| | b) {}But in some JS-related questions or books, we sometimes see logic with && and logic or | | The symbol appears in an assignment statement or in a
I. wildcard characters
* Represents any character ranging from 0 to infinite.
Example: Find the file name starting with cron under/etc/
[Root @ instructor Desktop] # ls/etc/cron *
/Etc/cron. deny/etc/crontab
/Etc/cron. d:
0 hourly raid-check
Source: http://blog.sina.com.cn/s/blog_62a151be0100x9rn.htmlFourth chapter basic Skills-Special symbolsThe quickest way to learn to write script is to watch someone else's script file. However, although this method is practical, it is often "less
The case statement is suitable for applications that require multiple branching. The case Branch statement is formatted as follows: Case $ variable name inMode 1)Command sequence 1;;Mode 2)Command Sequence 2 ;;*)Sequence of commands executed
1 ,@Generally, a command or statement is followed by a command. The command or statement itself is not displayed on the screen. Save the following code as the test. cmd file and run it to compare the output differences between the two echo
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.