BASH Explorer

Bourne Again SHell: The Universal Interface

v5.2 Reference
Interactive Guide

The Power of the Shell

BASH (Bourne Again SHell) is the command language interpreter for the GNU operating system. It is not just a way to run programs; it is a full programming language and the primary interface for managing Linux/Unix systems. This interactive report breaks down the vast ecosystem of Bash capabilities into digestible, explorable categories.

Scope
Command Language

Variables, Loops, Functions, Arithmetic

Core Utility
System Control

Process management, File IO, Permissions

Environment
Interactive + Script

REPL for humans, automation for servers

Command Database

Select a command from the list to view its manual, common flags, and examples.

P Interactive Permissions

Bash permissions are often represented by octal numbers (e.g., 755). Toggle the bits below to see how `chmod` works.

Owner
Group
Others
COMMAND PREVIEW
chmod 755 filename
-rwxr-xr-x

Command Ecosystem

Not all commands are equal. Some live inside the shell (Built-ins) for speed and environment control, while others are external programs (Binaries).

Bash Playground (Simulation)
# Try typing: 'echo hello', 'help', 'date', or 'whoami'
# This is a safe JS simulation. Filesystem commands are mocked.

user@host:~$ welcome_msg
Welcome to the BASH interactive explorer. Type a command below.
user@host:~$

Operators & Control Flow

>
Redirect Output

Sends standard output to file. Overwrites file.

ls > list.txt
>>
Append Output

Appends standard output to the end of a file.

echo "Log" >> log.txt
|
Pipe

Passes output of Left command to input of Right.

cat file | grep "ok"
&&
Logical AND

Runs second command ONLY if first succeeds.

make && make install