We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98e414e commit 94b461bCopy full SHA for 94b461b
shellScripting/exercises/spacialvariables.sh
@@ -6,14 +6,14 @@
6
#Modified Date:
7
#Author: Vilas Varghese
8
# 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 $$"
+echo "'$*' Double quoted string of arguments $*"
+echo "'$#' Number of arguments $#"
+echo "'$1 & $2' first and second arguments $1 and $2"
+echo "'$@' All arguments individually double quoted of $@"
+echo "'$?' Exit status of the previous command is $?"
+echo "'$$' process id $$"
15
sleep 400 &
16
-echo "'$!' output is $!"
+echo "'$!' background process id $!"
17
18
echo "'$0' your current program name is $0"
19
0 commit comments