Linux MCQ Questions with Answer |Online Quiz

Linux MCQ Online Quiz Questions| Linux Multiple Choice Questions and Answer

Linux MCQ Online Quiz: In this page we have listed the 30 important Linux online MCQ questions/Linux objective questions/ Linux MCQ online test/Linux MCQ Questions and Answer are given below. Candidate take this below Linux MCQ Quiz and to find the correct the answer. Keep practice these Linux multiple choice questions regularly to get the required knowledge in this field. Linux is most used open source operating system (OS). Its source code is easily available for everyone An operating system is the software that directly manages a system’s hardware and resources, like CPU, memory, and storage. Candidate who are preparing for the interview practice these below linux questions daily. This is the great way to score good marks in interview.

Click Here for LISP MCQ Questions and Answer
Press here for Ruby MCQ Questions

Here are the Linux MCQ Online Quiz Questions

1. How can you add Amit, a new user, to your system?

A. Using adduser

B. Using linuxconf

C. Using useradd

D. All of the above

Answer: All of the above

2. In which directory can you store system user default files used for creating user directories?

A. /etc/skel

B. /etc/default

C. /usr/tmp

D. /etc/users

Answer: /etc/skel

3. How many primary partitions can exist on one drive?

A. 4

B. 16

C. 2

D. 1

Answer: 4

4. What file specifies the order in which to use specified name services?

A. /etc/nsorder

B. /etc/services

C. /etc/nsswitch.conf

D. None of the above

Answer: /etc/nsswitch.conf

5. What does FSF stand for?

A. File Server First

B. Free Software File

C. First Serve First

D. Free Software Foundation

Answer: Free Software Foundation

6. What command is used to count the total number of lines, words, and characters contained in a file?

A. wc command

B. countw

C. wcount

D. count p

Answer: wc command

7. What command do you use to create Linux file systems?

A. fsck

B. mkfs

C. fdisk

D. mount

Answer: mkfs

8. What command is used to display the characteristics of a process?

A. ps

B. au

C. du

D. pid

Answer: ps

9. Which of the following is not a communication command?

A. mail

B. mesg

C. grep

D. write

Answer: grep

10. Which of the following command is used to create a Linux installation hoot floppy?

A. bootfp disk

B. ww and rawwrite

C. mkboot disk

D. dd and rawrite

Answer: dd and rawrite

11. What command is used with vi editor to replace text from cursor to right__________

A. R

B. r

C. S

D. s

Answer: R

12. What command is used to remove files?

A. delete

B. rm

C. dm

D. erase

Answer: rm

13. What sign is used to back up over typing errors in vi?

A. @

B. $

C. !

D. #

Answer: #

14. What command is used to sort the lines of data in a file in alphabetical order?

A. st

B. sort – r

C. sort

D. sh

Answer: sort

15. What command is used with vi editor to move back to the beginning of a word?

A. w

B. a

C. b

D. e

Answer: b

16. What command is used to remove the directory?

A. remove

B. rd

C. rdir

D. rmdir

Answer: rmdir

17. What service is used to translate domain names to IP addresses?

A. SMB

B. NFS

C. DNS

D. NIS

Answer: DNS

18. What command is used with vi editor to save file and remain in the editing mode?

A. q!

B. :w

C. x

D. :q

Answer: :w

19. How many networks and nodes per network, are allowed by the Class B network?

A. 2,097,152 networks and 254 nodes per network

B. 16,384 networks and 65,534 nodes per network

C. 127 networks and 16,777,216 nodes per network

D. All of the above

Answer: 16,384 networks and 65,534 nodes per network

20. What command is used with vi editor to delete a single character?

A. x

B. y

C. z

D. a

Answer: X

21. What command is used with vi editor to search a pattern in the forward direction?

A. //

B. ??

C. ?

D. /

Answer: /

22. What TCP/IP protocol is used for remote terminal connection service?

A. RARP

B. FTP

C. TELNET

D. UDP

Answer: TELNET

23. What command is used to add printing jobs to the queue?

A. lpr

B. lpq

C. lpd

D. lpc

Answer: lpr

24. What port does squid listen, by default?

A. 7334

B. 2314

C. 4322

D. 3128

Answer: 3128

25. What hardware architectures are not supported by Red Hat?

A. Alpha

B. SPARC

C. IBM-compatible

D. Macintosh

Answer: Macintosh

26. Which of the following server is used with the BIND package?

A. dns

B. shttp

C. httpd

D. named

Answer: named

27. Which of the following is the main Apache configuration file?

A. /etc/httpd/conf/httpd.conf

B. /etc/httpd/config.ini

C. /etc/apache.conf

D. None of the above

Answer: /etc/httpd/conf/httpd.conf

28. What protocol(s) is(are) allowed a user to retrieve her/his mail from the mail server to her/his mail reader?

A. FTP

B. MAP

C. POP3

D. All of the above

Answer: POP3

29. What X-based tool is available for configuring the X Window system?

A. xf86config

B. XF86Setup

C. XConfigurator

D. All of the above

Answer: XF86Setup

30. The physical layer of a network___________

A. defines the electrical characteristics of signals passed between the computer and communication devices

B. controls error detection and correction

C. constructs packets of data and sends them across the network

D. All of the above

Answer: defines the electrical characteristics of signals passed between the computer and communication devices.

Applicants are advised to watch our dailyrecruitement website to get MCQ Quiz. Those who are interested in this Linux MCQ/Linux multiple choice questions/Linux computer science questions may use this chance.