ChrisAppStatic v0.4

Hello World (Bash)

What it does: Prints a friendly message—useful to validate shell, file permissions, and PATH basics before building bigger scripts.

What is Bash? Bash is a Unix shell and command language commonly used on Linux and macOS for running commands and writing scripts.

Why “Hello World”? It’s the smallest possible script that proves your shell and permissions are working.

Code

#!/bin/bash
echo "Hello World"

How to run it

  1. Save it as helloworld.sh.
  2. Make it executable: chmod +x helloworld.sh
  3. Run it: ./helloworld.sh

← Back to home