Linux, an open source command line five top Shell

linux-shell_01
There are two Linux users in the world: the adventurous and cautious attitude.

One type of user instinctively to try any new options can poke their pain points. They tried countless window manager, system release and almost all desktop plug could find.

After another class of users find their favorite things, I will keep using it. They often like to use the default configuration of the system release. The first master text editor that will become a favorite of them.

As a desktop and server versions fifteen years of Linux users, compared to the first class, I definitely belong to the second category of users. I prefer to use ready-made things, this way, when I can find a lot of use cases I need through documentation and examples easily. If I decide to choose what to use non-standard fees, the switching process will be based on meticulous research, and the premise is a good base from friends strongly recommended.

But that does not mean I do not like to try new things and make up lost leak. So recently, after I answered using the bash shell for many years, I decided to try another four shell tools: ksh, tcsh, zsh and fish. The four shell by default libraries can be easily installed Fedora system I have used, and they may have a built-in system release you are using them up.

Here are a brief description of each of them to select the next and explained it suitable as your next Linux command line interpreter reason lies.

bash

First, we look at the most familiar one. GNU Bash, also known as Bourne Again Shell, which is the default choice these years I have used many Linux distributions. It was originally released in 1989, and easily grow into the world's most widely used Linux's shell, even among common in a number of other Unix-like systems.

Bash is a highly acclaimed shell, when you find all kinds of things via the Internet method to solve the required documents, without exception, can always find these documents assume that you are using the bash shell. But bash also has some shortcomings, if you wrote a script Bash will find the code we write is always better than many so few lines really need. It's not that there is anything it can not do, but it is not always intuitive to read and write it, at least not enough elegance.

As noted above, based on its huge amount of installation, and taking into account the various professional and non-professional system administrator has adapted its use and unique, at least for some time to come, bash and perhaps will always exist.

ksh

KornShell, perhaps you are not familiar with this name, but you must know that it invoked command ksh. This alternative shell in the 1980s originated in Bell Labs, written by David Korn. Although originally a proprietary software, but the latter version is released under the Eclipse Public License.

ksh fans on their lists they feel superior many reasons, including better circulation grammar, clarity pipeline exit code, easier way to deal with repeat orders and associative array. It can simulate many acts of vi and emacs, so if you are a heavy text editor patient, it's worth a try. Finally, I found that although it has a different experience in terms of high-level script, but with the same basic bash in terms of input.

tcsh

tcsh derived csh (Berkely Unix C shell), and dates back to the early start of the computer age, and Unix.

tcsh biggest selling point is its scripting language, for people familiar with the C programming language, it will look very cordial. tcsh scripting some people like, some people hate. But it also has other technical features, including the ability to add parameters as aliases, catering to a variety of possible default behavior for your preferences, including the tab auto-completion and tab completion of the work recorded for later investigation.

tcsh release the BSD license.

zsh

zsh is another similarity with the shell and bash and ksh. Born in the early 1990s, zsh supports many useful new technologies, including spelling correction, theming, can be named directory shortcuts, minor adjustments to share the same information and various command history with respect to the original bash in a plurality of terminals .

While some need to follow the GPL license, but zsh code and binary files can be distributed under a license similar to the MIT license; you can see the details in the actual license.

fish

Before I visited the fish's home page, when you see, "Well, this is a born after 90 command-line shell" when this slightly ridicule introduction (fish completed in 2005), I realized that I would fall in love with this friendly interactive shell's.

fish authors offer several reasons to switch over, these reasons a little humor and can poke humor, but it really is the case. These features include auto-suggestion ( "Note, Netscape Navigator 4.0 came", LCTT Annotation: NN4 is a major release.), Support the "staggering" 256-color VGA palette, but there are really useful features, including on your machine based on the man page automatically fill all orders, cleanup script and web-based configuration interface.

fish permission primarily based on GPLv2, but some parts are licensed under the other. You can view the resource library for complete information.

 

If you want to find a detailed outline for each selection of the exact difference is, this site should be able to help you.

My position in the end what is it? Well, eventually I should still bash back into the embrace, because for most of the time people are using the command line interaction, the switching process for the benefit of advanced scripting can bring minimal, and I have become accustomed to using the bash.

But I'm glad I made the decision to open the door and try new selection. I know there are many other things outside. What have you tried shell, which is more Italian? Tell us in the comments.

Original link: Linux under the five top open source command line Shell - Linux relation to such school - blog Park https://www.cnblogs.com/linuxprobe/p/5654385.html

Guess you like

Origin www.cnblogs.com/tongongV/p/10980695.html