Bash scripts often start by assigning a value and printing it. This replay shows the shell expanding a variable inside a command argument.

Program

Play the script to watch name receive a value, expand inside echo, and produce stdout.

hello.sh
#!/usr/bin/env bash

name="Ada"
echo "Hello, $name"
echo "Shell: bash"
variable expansion Bash replaces `$name` with the current value before running the command.
stdout The standard output stream is where commands write normal visible results.