In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the popular command line Shell in the Linux system, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to know about it.
Shell is an abstract concept, all the operations of shell are in the computer, responsible for handling human-computer interaction, executing scripts, etc., is an important part of the normal operation of the operating system, bash,ash,zsh,tcsh is a concrete implementation of the abstract concept of shell, is a program, can generate a process object.
Bash
First of all, let's review the one we are most familiar with. GNU Bash, also known as Bourne Again Shell, is the default choice for many Linux distributions I have used over the years. It was first released in 1989 and easily grew into the most widely used shell in the Linux world, even in other Unix-like systems.
Bash is a widely acclaimed shell, and when you look for documents needed to solve all kinds of things through the Internet, you can always find that these documents default to bash shell. But bash also has some drawbacks. If you write Bash scripts, you will find that we always have to write a few more lines of code than we really need. This is not to say that there is anything it cannot do, but that it is not always intuitive in reading and writing, or at least not elegant enough.
As mentioned above, given its huge installation capacity, and considering that a variety of professional and non-professional system administrators have adapted to its use and uniqueness, bash may always exist, at least for some time to come.
Ksh
KornShell, you may not be familiar with the name, but you must know its calling command ksh. This alternative shell originated in the Hubert Lab in the 1980s and was written by David Korn. Although originally a proprietary software, a later version was released under the Eclipse Public license.
Ksh fans list a number of reasons why they think it is superior, including better loop syntax, clear pipe exit code, and an easier way to deal with repeated commands and associative arrays. It can simulate many behaviors of vi and emacs, so if you are a heavy text editor patient, it is worth a try. Finally, I found that although it has a different experience in advanced scripting, it is similar to bash in terms of basic input.
Tcsh
Tcsh is derived from csh (Berkely Unix C shell) and can be traced back to the beginning of the early Unix and computer age.
The biggest selling point of tcsh is its scripting language, which will look very friendly to those who are familiar with C programming. Some people like tcsh's scripting and some hate it. But it also has other technical features, including the ability to add parameters to aliases, a variety of default behaviors that may suit your preferences, including tab auto-completion and recording the work done by tab for later reference.
Tcsh is released under the BSD license.
Zsh
Zsh is another shell that has similarities with bash and ksh. Born in the early 1990s, zsh supports many useful new technologies, including spelling correction, theming, namable directory shortcuts, sharing the same command history information among multiple terminals, and various minor adjustments to the original bash.
Although partially subject to the GPL license, the zsh code and binaries can be distributed under a license similar to the MIT license; you can see the details in actual license.
Fish
I visited fish's home page earlier, and when I saw the slightly sarcastic introduction to "all right, this is a command line shell for post-90s generation" (fish was completed in 2005), I realized that I would love this interactive and friendly shell.
The author of fish offers a number of reasons to switch around, which are a little humorous and punch the punch line, but that's true. These features include automatic advice ("Note, here comes Netscape Navigator 4.0", LCTT translation note: NN4 is an important version. Supports the "amazing" 256-color VGA color mix, but there are also really useful features, including auto-completion commands based on man pages on your machine, clearing scripts, and configuration based on the web interface.
Fish licenses are primarily based on GPLv2, but some parts are licensed under other licenses.
Thank you for reading this article carefully. I hope the article "what are the popular command line Shell in Linux system" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is 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.
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.