Friday 25 September 2015

Basic Linux Multiple Choice Questions And Answers

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

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

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
Ans: A

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.
Ans: B

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
Ans: D

More Questions & Answers:-
Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9
 Page10

No comments:

Post a Comment