36. Which command is used to execute the last command you have executed?
A. !!
B. !-1
C. Both A and B
D. Only A
Ans: C
37. What is the purpose of id command?
A. Print effective and real UID
B. Print effective and real GID
C. Print effective and real UID and GID
D. None of these
Ans: C
38. Which command is used to print the login shell of an user?
A. echo $SHELL
B. echo $LOGIN
C. echo $LSHELL
D. None of the Above
Ans: A
39. Which of the following command return the exit status of last command?
A. $!
B. $$
C. $?
D. $#
Ans: C
40. which command is used to print the current working direcotry?
A. pwd
B. echo $PWD
C. Both A and B
D. Only A
Ans: C
More Questions & Answers:-
Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9
Page10
A. !!
B. !-1
C. Both A and B
D. Only A
Ans: C
37. What is the purpose of id command?
A. Print effective and real UID
B. Print effective and real GID
C. Print effective and real UID and GID
D. None of these
Ans: C
38. Which command is used to print the login shell of an user?
A. echo $SHELL
B. echo $LOGIN
C. echo $LSHELL
D. None of the Above
Ans: A
39. Which of the following command return the exit status of last command?
A. $!
B. $$
C. $?
D. $#
Ans: C
40. which command is used to print the current working direcotry?
A. pwd
B. echo $PWD
C. Both A and B
D. Only A
Ans: C
More Questions & Answers:-
Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9
Page10
No comments:
Post a Comment