mirror of
https://github.com/techarkit/shell-scripting-tutorial.git
synced 2025-07-25 01:28:51 +00:00
21 lines
437 B
Bash
21 lines
437 B
Bash
#!/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 #
|