bash script how to use variables code example
Example 1: shell script variable
TEXT="Hello World!"
echo $TEXT
# ouput: Hello World!
Example 2: bash create variable
#create a variable to store name
name="Lance Armah"
TEXT="Hello World!"
echo $TEXT
# ouput: Hello World!
#create a variable to store name
name="Lance Armah"