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

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

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. Who developed Linux software?

(i) Dennis M. Ritchie
(ii) Linus Torvalds
(iii) Bjarne Stroustrup
(iv) Grace Murray Hopper

(ii) Linus Torvalds

Q2. What command is used to summarize the disk usage?

(i) disk
(ii) du
(iii) fdisk
(iv) chkdsk

(ii) du

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

(i) httpd.conf
(ii) apache.con
(iii) /etc/profile
(iv) system.ini

(i) httpd.conf

Q4. 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

Q5. What command is used to assign executable permission to the owner of the file named “letter”?

(i) chmod ugo + x letter
(ii) chmod u + x letter
(iii) chmod u + w letter
(iv) chmod g + x letter

(ii) chmod u + x letter

Q6. For you to create a swap partition by using fdisk, what must the partition’s system ID type be?

(i) 83
(ii) 82
(iii) 5
(iv) 4

(ii) 82

Q7. Which of the following format of partition tables does Linux use?

(i) Linux
(ii) BSD
(iii) UnixWare
(iv) DOS

(iv) DOS

Q8. What command is used to assign only read permission to all three categories of the file’letter’?

(i) chmod u + r, g + r, o – x letter
(ii) chmod ugo = r letter
(iii) chmod a – rw letter
(iv) chmod go + r letter

(ii) chmod ugo = r letter

Q9. Which command can force all buffers to disk?

(i) save
(ii) sync
(iii) edbuff
(iv) flush

(ii) sync

Q10. The hierarchy of a series of directories branching in a user system starts from

(i) home
(ii) root
(iii) /home
(iv) /root

(iii) /home

Q11. Which command is used to identify file type in linux?

(i) type command
(ii) ftype command
(iii) ls -l command
(iv) tf command

(iii) ls -l command

Q12. Which command takes the input from standard input and copies into a file?

(i) cat
(ii) T pipe
(iii) more
(iv) tee

(iv) tee

Q13. What command is used to terminate a process?

(i) kill
(ii) cancel
(iii) haltsys
(iv) shutdown

(i) kill

Q14. In what file can you specify which users are not allowed to access a system via FTP?

(i) /etc/ftpusers
(ii) /etc/hosts.deny
(iii) /etc/ftpaccess
(iv) All of the above

(i) /etc/ftpusers

Q15. What is used to search files for specified words or patterns?

(i) Less
(ii) Srch
(iii) %src
(iv) grep

(iv) grep

Q16. Which command is used to perform backup in linux?

(i) dp command
(ii) bc command
(iii) dump command
(iv) bck command

(iii) dump command

Q17. Which symbol is used to refer the contents of a variable?

(i) *
(ii) “”
(iii) $
(iv) #

(iii) $

Q18. What command do you use to delete a file?

(i) rename
(ii) delete
(iii) rm
(iv) cp

(iii) rm

Q19. In File Access Permission, what command gives the owner of the file the execute permission?

(i) s + x
(ii) u + x
(iii) o + x
(iv) a + x

(ii) u + x

Q20. The location of some system configuration and system administrator executable files, is:

(i) /home
(ii) /proc
(iii) /var
(iv) /sbin

(iv) /sbin

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