Zsh vs Bash (Shell Comparsion)

Python - Lists
Dual Booting (Linux + Windows)
October 20, 2016

Zsh vs Bash (Shell Comparsion)

What is a Shell?


A shell is an interface allowing an user to gain access to an operating system's services. There are shells such as BASH, ZSH, TCSH, KSH, and etc that do this.

What is BASH?

BASH as an acronym, it stands for Bourne-again shell was written by Brian Fox. It was created to replace the original Bourne shell.

What is ZSH?

ZSH is the Z shell and can be considered an extension of BASH and other shells. It was designed to be programmable and written in 1990 by Paul Falstad.

 

Bash and Zsh are both rather great shells to use. However personally I would rather go with the Zsh shell because of the ability to customize. Not only that but provides great functionally if you are using the shell quite often. However if you aren't using the shell than bash will just do fine. However if your like me and use the shell more often then not since I dislike moving my mouse and attempt to soley rely on keyboard than Zsh is the way to go.

 

A little something that is worth noting about these two shells is that Zsh has significantly more cpu usage than bash. However it isn't anything that is significant unless your running a computer that is dealing with low amounts or ram and memory. Using the time command I found that zsh used around 4% of the cpu to start compared to the 1%. The time for zsh to open was 10 times slower taking 0.12s compared to the 0.01s seconds. While this isn't anything drastically noticable it is something to consider.

BASH

Sources: Bash, Zsh

Tags: Computer Guide