Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the existence form of shell in Linux?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces the existence form of shell in Linux, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

Shell in Linux refers to a user-oriented command interface in the form of an interface that can be entered by the user, which can also feedback running information; the default shell under Linux is Bourne Again shell (bash).

The existence form of shell in Linux:

Because Linux is different from Windows,Linux in that the kernel is separated from the interface, it can run separately from the graphical interface, and it can also run a graphical desktop on the basis of the kernel.

In this way, in the Linux system, there are two forms of shell, one is shell in the terminal operating environment without a graphical interface, and the other is a Windows-like MS-DOS running window running on the desktop, the former is habitually referred to as the terminal, and the latter is generally referred to as shell directly.

How to execute user's instructions by shell

Shell has two ways to execute instructions. the first method is for the user to write a sh script file containing the shell script in advance, and then use the shell program to execute the script. This way, we are used to calling it shell programming.

The second form is that the user executes the shell command directly on the shell interface. Because of the shell interface, everyone is used to writing line by line, and rarely writes a complete set of programs to execute together, so it is also called the command line.

Conclusion: shell can be said to be just a bridge between the user and the machine, so that we can operate and interact with the computer through shell, so as to achieve the purpose of making the computer serve us.

Thank you for reading this article carefully. I hope it is helpful for everyone to share the existence form of shell in Linux. At the same time, I also hope that you can support us, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report