Sunday, February 19, 2017

Shell Scripting Tutorial for Beginners 1 - using Variables and Comments



#! /bin/bash
# this is a comment
echo "Hello World" # this is also a comment

echo Our shell name is $BASH
echo Our shell version name is $BASH_VERSION
echo Our home directory is $HOME
echo Our current working directory is $PWD

name=Mark
VALUE=10
echo The name is $name
echo value $VALUE