Computer Science - Unix - Discussion
Discussion Forum : Unix - Section 3 (Q.No. 11)
11.
Which of the following special shell variables is used to process number of the current shell?
Discussion:
2 comments Page 1 of 1.
Harshavardhan Kalsait said:
8 years ago
Correct is B option.
A] $!: The process number of the last background command.
B] $$: process number of the current shell.
C] $0: filename of the current script.
D] $*: All the arguments are double quoted. If a script receives two arguments, $* is equivalent to $1 $2.
A] $!: The process number of the last background command.
B] $$: process number of the current shell.
C] $0: filename of the current script.
D] $*: All the arguments are double quoted. If a script receives two arguments, $* is equivalent to $1 $2.
Narayan Chaudhary said:
1 decade ago
$ resembles total value.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers