". VdoTips: LINUX SERVER FUNDAMENTAL PRACTICE SET 8

APPLY LATEST GOVT JOBS

hi

LINUX SERVER FUNDAMENTAL PRACTICE SET 8

36. Which command is used to execute the last command you have executed?
(A) !!
(B) !1
(C) Both A and B
(D) Only A


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


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


39. Which of the following command return the exit status of last command?
(A) $!
(B) $$
(C) $?
(D) $#


40. which command is used to print the current working direcotry?
(A) pwd
(B) echo $PWD
(C) Both A and B
(D) Only A