Hello Linux Users !, today we going to try Zsh, but before we try zsh, we must know what is a shell. Wikipedia said shell is a user interface that use to access to an operating system service. So In general, a shell is an interface where you type a command on your operating system, like in Linux when you want to type some commands.

There are some shell that you try on your Linux like FISH (Friendly Interactive Shell), Dash, Csh, and Zsh. So what is Zsh ?, Zsh or Z Shell is a younger brother of bash that incorporates many features from Bash, Ksh, and Tcsh with some improvement that make interactive use a lot more pleasant.

Zsh is a shell designed for interactive use, it assumes basic knowledge of the standar Unix Shell, so if you already familiar with one of the major shells, you won’t find any trouble using Zsh.

Zsh Main Features

  • It can share command history to all active shells.
  • Progammable command-line completion, that makes user easier to type command options and arguments.
  • Improved variable/array handling.
  • Multi-line commands editing in a single buffer.
  • Speeling Correction.
  • Themeable Prompts
  • Fully Customizable
  • and many more..

Install Zsh on Debian, Ubuntu, Mint, Elementary

Install zsh is easy as you open up your bottle, just use this command to install.

$ sudo apt-get update && sudo apt-get install zsh

Now if you want to change your default shell, use this command:

$ chsh -s /bin/zsh

Install Zsh on Fedora, Redhat, CentOS

Use this command to install Zsh on Fedora:

$ yum install zsh

and change default shell

$ chsh -s /bin/zsh

Using Zsh

This is a demonstration video that I make for this post, in the video I just use some basic commands and In the video I am using Arch Linux, in Arch Zsh is preinstalled. So check this out.

Zsh Screenshot

This is some screenshot for zsh.

zsh - an Interactive Shell, cooler than your shell
Initial Screen
zsh - an Interactive Shell, cooler than your shell
Auto Completion
zsh - an Interactive Shell, cooler than your shell
using cd command

That’s all for my post about Zsh, hope you like it. If you have another shell that better in Zsh or you have question, you can leave it on the comment below. Thanks.

Leave a Reply

Your email address will not be published. Required fields are marked *