Shell Script to initialize Hello World String to a variable and print it on the console
Program
#! /bin/bash
hello="Hello World from variable!!!"
echo $hello
Output
$ chmod 755 hello_world_from_var.sh
$ sh hello_world_from_var.sh
Hello World from variable!!!