#!/bin/bash
# declare STRING variable
STRING=”Hello World”

#print variable on a screen
echo $STRING

Sumber: http://linuxconfig.org/Bash_scripting_Tutorial