echo variable in shell code example
Example 1: sh declare variable
#!/bin/sh
MY_MESSAGE="Hello World"
echo $MY_MESSAGE
Example 2: echo variable bash
echo "${var}"
#!/bin/sh
MY_MESSAGE="Hello World"
echo $MY_MESSAGE
echo "${var}"