In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article introduces the relevant knowledge of "what is the shell of linux?". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Linux shell has: 1, Bourne Shell;2, C Shelll;3, Korn Shell;4, Bourne Again Shell;5, Almquish shell;6, Z Shell;7, Fish and so on.
The operating environment of this tutorial: Ubuntu 16.04 system, Dell G3 computer.
What is Linux Shell?
Shell is the user interface of the system, which provides an interface for users to interact with the kernel. It receives the command entered by the user and sends it to the kernel for execution. It is the interpreter program between the Linux kernel and the user. Now Linux usually refers to the / bin/bash interpreter which is responsible for translating and communicating user / program instructions to the kernel. Shell is equivalent to the "shell" of the operating system.
The Linux system offers a variety of different Shell options.
Bourne Shell
Bourne Shell (sh for short) is developed by Steven Bourne of AT&T Bell Lab for Unix of AT&T. It is the default Shell of Unix and the development basis of other Shell. Bourne Shell is quite good at programming, but not as good as other Shell in handling interactions with users.
C Shelll
C Shelll (csh for short) was developed for BSD Unix by 喜悦, Bill of the University of California, Berkeley. Unlike sh, its syntax is very similar to the C language. It provides user interaction features that Bourne Shell can't handle, such as command completion, command alias, historical command replacement and so on.
However, C Shell is not compatible with Bourne Shell.
Korn Shell
Korn Shell (ksh for short) is developed by David Korn of AT&T Bell Labs. It combines the advantages of C Shell and Bourne Shell, and is fully compatible with Bourne Shell. Korn Shell is very efficient, and its command interface and programming interface are very good.
Bourne Again Shell
The most commonly used shell is Bourne Again Shell, or bash. It is designed for the GNU project as an open source alternative to Bourne Shell, and Bourne Shell is a common Shell used on UNIX systems. Bash also draws inspiration from other UNIX shell, such as C shell (csh) and KornShell (ksh). Each major UNIX Shell feature is different: Bourne Shell is suitable for scripting, and although scripting in C shell requires knowledge of the C programming language, it does provide some convenient tools to make it more suitable for interactive use. Bash combines this improved interactivity with Bourne Shell's simple scripts. Although bash has become the default shell for Linux systems (and still is for most distributions), it won't prevent projects from using alternative shell if improvements can be made.
Almquish shell
Almquish shell, or ash, is such a shell. This shell is designed to be Bourne shell compatible and lightweight. But at the same time, it also lacks some of the improvements that shell has, such as bash, ksh, and csh. Its small size and low resource utilization means that it is usually used in embedded systems, such as those that use BusyBox systems. BusyBox is typically used as part of the shell of Android devices and as part of the Linux installation and boot process. This means that if there is a problem installing or starting the Linux system, it may be because you are using Almquish shell in BusyBox. There is also a port called dash ((Debian Almquish shell) from which ash is migrated to Debian Linux. Dash is the default shell for the / bin/sh command on Debian and Ubuntu systems.
Z Shell
Z shell, or zsh, is another Bourne shell-based shell. It also adds features from bash, ksh, and csh. In addition, it also has a complete command line completion function, which can identify not only command names, but also options and parameters, as well as spelling corrections. It can also be extended with themes and plug-ins, and can be run in compatibility mode, making it work like some other shell (such as Bourne shell). With regard to plug-ins and themes, there is a convenient tool that can help you find and install them from the command line, making settings very easy. With these features, Z shell has become a popular alternative to bash.
Fish
A friendly interactive shell. As the name implies, it is designed to make the command line a more friendly place. As a result, fish has many features that make it easier to work on the command line, such as syntax highlighting and error checking, and using colors to make work easier. There are also automatic suggestions to complete commands as you type them. The disadvantage is that it is not compatible with Bourne shell, so while it is a good start for beginners, there are many non-transferable elements when migrating to another shell, such as using its own scripting language.
This is the end of the content of "what is the shell of linux"? thank you for your reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.