". VdoTips: LINUX SERVER FUNDAMENTAL PRACTICE SET 4

APPLY LATEST GOVT JOBS

hi

LINUX SERVER FUNDAMENTAL PRACTICE SET 4

16. Which directory in Linux contains all the config file of the system?
(A) /etc
(B) /var
(C) /lib
(D) /bin


17. Which of the following command is used to know last shutdown/reboot date and time?
(A) last
(B) lastlogin
(C) lastreboot
(D) lastshutdown


18. Which of the following command is used to count number of lines in a file?
(A) wc l
(B) wc c
(C) wc w
(D) None of these


19. Which of the following statement is incorrect about /bin and /sbin directory?
(A) /sbin contain only binaries essential for booting, restoring, Recovering, and/or repairing the system in addition to the binaries in /bin.
(B) There is no difference between /bin and /sbin, they are just two directories
(C) /bin contains commands that may be used by both the system administrator and by users, but which are required when no other filesystems are mounted
(D) Utilities used for system administration are stored in /sbin.


20. Which of the following command(s) is/are used to reboot a Linux system?
(A) shutdown h
(B) reboot
(C) init 6
(D) All of the above