Skip to content

Hello World (Bash)

What is Bash? A Unix shell and command language used on Linux/macOS. Hello World proves your shell and permissions are working.

Example

#!/bin/bash
echo "Hello World"

How to run it

  1. Save it to a file.
  2. Run chmod +x filename.sh where applicable.
  3. Run it from the terminal.

← Back homeRun in Sandbox →