Sitemap
Vandadi Siva Prasad

Vandadi Siva Prasad

Bash Shell

2 min readDec 3, 2025

--

What is Bash shell ?

Bash (Bourne Again SHell) is the most commonly used Linux shell.
It is a command-line interpreter that allows you to run commands and write scripts.
Bash is the default and most widely used Linux shell, used to run commands and write scripts for automation.

Press enter or click to view image in full size

Simple Meaning:

Bash = A program where you type commands in Linux.

It is an improved version of the older Bourne Shell (sh).

Why it is called Bourne Again SHell ?

Because it is a new, improved version of the Bourne shell (sh) → “born again”.

What Bash shell Does ?

Reads and executes commands

Get Vandadi Siva Prasad’s stories in your inbox

Join Medium for free to get updates from this writer.

Examples:
ls, cd, mkdir, rm, cat

Runs shell scripts

Automation using .sh files.

Provides features like:

  • Command history
  • Auto-completion
  • Aliases
  • Loops, variables, functions
  • Error handling
  • Wildcards (*, ?)

Why Bash Is Used in Linux Systems

Bash is used in Linux because it is:

  • Default shell on most Linux distributions
  • Powerful and flexible for system management
  • Scriptable, allowing automation of repetitive tasks
  • Lightweight, works without a graphical interface
  • Compatible with older sh (Bourne shell) scripts

It is essential for server administration, DevOps, cloud computing, and automation.

Where is Bash is Used ?

Linux servers

  • DevOps environments
  • Cloud (AWS, Azure, GCP)
  • CI/CD pipelines
  • Automation scripts
  • Local Linux terminal

Almost every Linux machine has bash installed.

--

--