Create spacialvariables.sh

This commit is contained in:
Ankam Ravi Kumar
2018-05-17 23:10:14 +05:30
committed by GitHub
parent f539796114
commit 525a1f9d2f

20
spacialvariables.sh Normal file
View File

@ -0,0 +1,20 @@
#!/bin/bash
#Purpose: To learn special variables
#Version:1.0
#Website: https://arkit.co.in
#Created Date: Sun May 6 15:23:12 IST 2018
#Modified Date:
#Author: Ankam Ravi Kumar
# START #
echo "'$*' output is $*"
echo "'$#' output is $#"
echo "'$1 & $2' output $1 and $2"
echo "'$@' output of $@"
echo "'$?' output is $?"
echo "'$$' output is $$"
sleep 400 &
echo "'$!' output is $!"
echo "'$0' your current program name is $0"
# END #