Skip to content

Commit 94b461b

Browse files
committed
specialvariable
1 parent 98e414e commit 94b461b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

shellScripting/exercises/spacialvariables.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
#Modified Date:
77
#Author: Vilas Varghese
88
# START #
9-
echo "'$*' output is $*"
10-
echo "'$#' output is $#"
11-
echo "'$1 & $2' output $1 and $2"
12-
echo "'$@' output of $@"
13-
echo "'$?' output is $?"
14-
echo "'$$' output is $$"
9+
echo "'$*' Double quoted string of arguments $*"
10+
echo "'$#' Number of arguments $#"
11+
echo "'$1 & $2' first and second arguments $1 and $2"
12+
echo "'$@' All arguments individually double quoted of $@"
13+
echo "'$?' Exit status of the previous command is $?"
14+
echo "'$$' process id $$"
1515
sleep 400 &
16-
echo "'$!' output is $!"
16+
echo "'$!' background process id $!"
1717

1818
echo "'$0' your current program name is $0"
1919

0 commit comments

Comments
 (0)