In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
What is the concept of Linux Bash Shell, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
What is Shell?
This should be an interesting topic: "what is Shell?" "I believe that as long as you touch a computer, most friends who have some idea of the operating system (whether it is Linux, Unix or Windows) have heard of this term, because as long as there is an" operating system "then you can't do without Shell. But before we talk about Shell, let's take a look at how computers work. For example: when you want your computer to transmit "music", what does your computer need?
1. Of course, it is necessary for your hardware to be equipped with a "sound card chip". Otherwise, why would there be sound?
two。 The core of the operating system can support this chipset, and of course you need to provide a driver for the chipset.
3. The user (that is, you) is required to enter instructions to produce sound.
This is the basic step needed to output sound! That is to say, you have to "enter" an instruction before the hardware will work through your instructions! Hey! So how does the hardware know your instructions? That is the kernel (core) control work! Do you understand? That's right! In other words, we must communicate our input instructions with Kernel through "Shell" so that Kernel can control the hardware to work correctly! Basically, we can illustrate this through the following two pictures:
Basically, what works for us is the "hardware", while the control of the hardware is the "core". In addition, we users use "Shell" to control some of the "tool Utility" provided by kernel to manipulate the hardware to work correctly for us. For example, when we use the function of shell and type "cd /" to switch directories, shell uses the cd tool provided by kernel to tell kernel to convert the working directory of the hard drive to /, and then the hard drive switches to / under the control of kernel! This is the main function of Shell! Furthermore, because kernel does not understand human language, and humans have no way to directly remember the language of kernel, the communication between the two has to be supported by shell!
Literally, kernel means "core", while Shell means "shell". Hehe! In other words, shell is the outermost Dong Dong! And the kernel is the innermost thump! The core is the * layer of the operating system! This core includes a variety of tools to support hardware! Of course, if your hardware is too new and your kernel does not support it, then I am sorry, no matter how strong your Shell ability is, there is no way to make the hardware work! Does that make sense? He he! That's right! It is the core task that makes the mainframe work, but it is shell that operates the core to work for the user. So, sometimes when your shell has been working for a long time, but the hardware doesn't work, please pay attention to whether your "core" is correct. Ah! It's too far! This is what kernel chapter is going to say.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.