In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces what the R1-006 Shell variable is like, the content is very detailed, interested friends can refer to, hope to be helpful to you.
1. The name of the Shell variable begins with a letter or underscore, followed by a letter, number, or underscore of any length.
2. There is no length limit for Shell variable name characters. Linux Shell and classify variables. Everything is a string, and like the variable name, the value has no character length limit.
3. Variables are assigned as follows:
Variable name = value
Don't have any spaces on either side of the = sign. When you want to use the variable name to get the value, add the $symbol before the name.
4. When a variable does not have the prefix $, there may be the following situations: the variable is declared or assigned, the variable is unset, the variable is export.
5. $variable is just an abbreviated form of ${variable}
6. Variable substitution enclosed in double quotes will not be blocked. So double quotation marks are called partial references, also known as weak references. Using single quotation marks, variable substitution is prohibited, variable names are only interpreted literally, and variable substitution does not occur. So single quotation marks are called full references, also known as strong references.
About R1-006 Shell variable is how to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
# include#include # define SIZE 3#define STR_SIZE 20pthread_mutex_
© 2024 shulou.com SLNews company. All rights reserved.