Linux Basic MCQ of Computer Science SET-13 with Answers free PDF

We have provide here is the list of Linux MCQs for Computer Engineering preparation competitive exams. Each question has four options followed by the right answer.

MCQ Questions for Linux of Computer Science with Answers

Q1. What command is used to set user and group quotas?

(i) /sbin/usrquota
(ii) /sbin/edquota
(iii) /sbin/quotaon
(iv) /sbin/quota

(ii) /sbin/edquota

Q2. What port does squid listen, by default?

(i) 4322
(ii) 2314
(iii) 7334
(iv) 3128

(iv) 3128

Q3. Which of the following NIS clients, finds and stores information about an NIS domain and server?

(i) ypwhich
(ii) ypbind
(iii) ypcat
(iv) yppoll

(ii) ypbind

Q4. Which of the following is a valid format for mounting a CD-ROM drive?

(i) mount -t iso9660 /dev/cdrom / mnt/cdrom
(ii) mount /dev/cdrom
(iii) mount /mnt/cdrom
(iv) All of the above

(iv) All of the above

Q5. What should be the minimum length of a password?

(i) 5
(ii) 6
(iii) 7
(iv) 8

(ii) 6

Q6. LILO

(i) stands for Linux loader
(ii) is the Linux boot loader
(iii) is a tool used to boot the Kernel on x86 hardware
(iv) All of the above

(iv) All of the above

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

(i) XConfigurator
(ii) XF86Setup
(iii) xf86config
(iv) All of the above

(ii) XF86Setup

Q8. What command is used to remove jobs from the print queue?

(i) lpq
(ii) lpr
(iii) lprm
(iv) lpc

(iii) lprm

Q9. Which of the following is called as the piping symbol?

(i) _
(ii) |
(iii) ~
(iv) !

(ii) |

Q10. What command is used to display a file contents in octal form?

(i) oct
(ii) of
(iii) od
(iv) cd

(iii) od

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

(i) POP3
(ii) FTP
(iii) MAP
(iv) All of the above

(i) POP3

Q12. In which tcp_wrappers file can you specify to allow all connections from all hosts?

(i) /etc/hosts.allow
(ii) /etc/hosts.deny
(iii) /etc/hosts
(iv) /etc/tcp.conf

(i) /etc/hosts.allow

Q13. Which has excellent support for older hardware?

(i) Unix
(ii) Linux
(iii) Minix
(iv) Xenix

(ii) Linux

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

(i) x
(ii) q!
(iii) :w
(iv) :q

(iii) :w

Q15. Which of the following command is used to access an SMB share on a Linux system?

(i) NFS
(ii) SMD
(iii) smbclient
(iv) smbserver

(iii) smbclient

Q16. SA is also known as root user or

(i) Supervisor
(ii) Multi user
(iii) Single user
(iv) Super user

(iv) Super user

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

(i) au
(ii) ps
(iii) du
(iv) pid

(ii) ps

Q19. In which year Linux was developed?

(i) 1989
(ii) 1990
(iii) 1991
(iv) 1992

(iii) 1991

Q20. Which of the following command can you execute to count the number of lines in a file?

(i) lc
(ii) wc – l
(iii) cl
(iv) count

(ii) wc – l

We hope the given Computer Engineering MCQ Questions for Linux with Answers PDF Free Download will help you. If you have any queries regarding Linux MCQs Multiple Choice Questions with Answers, drop a comment below and we will get back to you soons.

Leave a Comment