Systems & hardware

Bash

Bash (Bourne Again SHell) is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell. It has been widely adopted as the default shell for most Linux distributions and Apple's macOS (formerly OS X). Bash is a command processor that typically runs in a text window, where the user types commands that cause actions. Bash can also read commands from a file, called a script.

Share this starting point code.study/bash
Created by
Brian Fox
First appeared
1989
Official resource
Visit the main website

Your first program

Hello, World!

Bash
echo "Hello, World!"

Keep learning

Where to go from here

Use trusted documentation for facts and an AI tutor for personalized explanations.

01

Official resource

Learn from the source

Continue with the language’s official documentation, project, or standards site.

Open official resource
02

Personalize it

Ask your AI tutor

Use a focused prompt covering strengths, tradeoffs, setup, and this first program.

Your prompt

Teach me the basics of Bash. Use https://code.study/bash as the starting point. Explain what Bash is best suited for, when I should not choose it, how to install or try it, and then walk me through its Hello World example step by step.

Content reviewed August 2026 · Start with primary sources and verify version-specific details.