Sunday 21 June 2015

Q39,p3,j14. Match the following with reference to Unix shell scripts :


List – I
List – II
a. $?
i. File name of the current script
b. $#
ii. List of arguments
c. $0
iii. The number of arguments
d. $*
iv. Exit status of last command

Codes :
a b c d
(A) iii ii i iv
(B) ii iii i iv
(C) iv iii i ii
(D) i iii i iv
Answer C.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.