Bash is a CLI that accepts and executes user commands in a text-based environment.

A sequence of these commands stored in a file is referred to as a Shell Script, which Bash is capable of reading and performing.

Shell: software program or a command line interface that translates user instructions.

💡 Shell Scripts are interpreted and not compiled

Types of Shell

  1. Bourne Shell (sh): original Unix shell, simple and widely portable.
  2. Bourne Again Shell (bash): default Linux shell with advanced scripting and customization.
  3. Korn Shell (ksh): Combines features of Bourne and C shells, with advanced scripting.
  4. C Shell (csh): shell with C-like syntax and command history, used for scripting and interactive use.
  5. Z Shell (zsh): An advanced, customizable shell with powerful features and plugins.
  6. Fish Shell (fish): user-friendly shell with modern features like syntax highlighting and autosuggestions.

Step 1

Screenshot 2024-08-08 at 4.45.42 PM.png
  • Log in to the system, if it’s a server
  • Open your terminal, if it’s your computer

If your prompt is not ending with $,type-bash

To know shell types your operating system supports?:

You will not be using above commands much, 90% of the time shell is used to navigate through folders and executing programs like lscd and other common commands.