In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
This article gives you a detailed introduction to Unix_Linux 's Bash,shell. Most of the knowledge points are often used by everyone, so I will share them for you as a reference. Let's follow the editor and have a look.
1. What is shell?
The interface of the operating system, through shell, you can call the corresponding hardware through kernel.
two。 What is Bash?
Bourne Again SHell (bash for short) is actually a version of shell.
Functions of 3.Bash Shell:
1) Command editing function (command history)
2) automatic completion function of command (press tab key)
3) Alias functions, such as adding alias la='ls-al', to bash and typing la to query document properties (useful when configuring zhcon previously)
4) work control (jobs), multitasking control
5) wildcards are supported.
4. Through the purpose of the type instruction, we can know whether each instruction is a built-in instruction of bash, such as type ls
To sum up a little bit: when we successfully log in on the terminal (tty), Linux will give us one according to the setting of the / etc/passwd file.
Shell, the default is bash, and then we can operate shell according to the way the instructions are issued above.
5.type command, which is used to query variables. For example, executing type $PATH will display the contents of PATH.
6. Define variables: for example, name=xxx, execute type $name to see its contents
7. Look at the environment variable: evn.
The above is the knowledge summary of Bash,shell in Unix_Linux, the content is more comprehensive, and I also believe that there are quite some knowledge points that we may see or use in our daily work. Through this article, I hope you can gain more.
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
© 2024 shulou.com SLNews company. All rights reserved.