Linux Basic MCQ of Computer Science SET-5 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 can be used to get information about yourself?

(i) which
(ii) pwd
(iii) i /4
(iv) who am i

(iv) who am i

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

(i) /etc/apache.conf
(ii) /etc/httpd/config.ini
(iii) /etc/httpd/conf/httpd.conf
(iv) /etc/srm.conf

(iii) /etc/httpd/conf/httpd.conf

Q3. How do you copy an entire directory structure? E.g. from Project to Project.backup

(i) cp -r Project Project.backup
(ii) cp -e Project Project.backup
(iii) cp -d Project Project.backup
(iv) cp -s Project Project.backup

(i) cp -r Project Project.backup

Q4. Which command is used to remove files?

(i) rm command
(ii) rmdir command
(iii) remove command
(iv) delete command

(i) rm command

Q5. Which symbol allows you to search the pattern, backward in the text?

(i) plus (+)
(ii) question mark (?)
(iii) astrisk (*)
(iv) slash (/)

(ii) question mark (?)

Q6. What command is used to remove a file?

(i) del
(ii) mv
(iii) rm
(iv) remove

(iii) rm

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

(i) httpd
(ii) shttp
(iii) dns
(iv) named

(iv) named

Q8. In which directory are the crontab files for users stored on suse linux?

(i) /var/spool/cron/tabs
(ii) /usr/lib/cron
(iii) /usr/bin/cron/crontabs
(iv) /var/spool/cron/users/tabs

(i) /var/spool/cron/tabs

Q9. Which command is used to create empty files?

(i) mkdir command
(ii) touch command
(iii) cat command
(iv) dir command

(ii) touch command

Q10. Which command is used to evaluate arithmetic expression?

(i) cat
(ii) expre
(iii) expr
(iv) lets

(iii) expr

Q11. What command is used to display and create files?

(i) lyrix
(ii) ed
(iii) vi
(iv) cat

(iv) cat

Q12. What project is currently developing X server support?

(i) XFree86 Project, Inc.
(ii) RHAD Labs
(iii) GNOME Project
(iv) All of the above

(i) XFree86 Project, Ina

Q13. What is the shortest command to take you to your home directory?

(i) cd ~
(ii) cd $HOME
(iii) cd
(iv) .

(iii) cd

Q14. Which command is used for changing the current directory in linux?

(i) cd command
(ii) chmod command
(iii) chgrp command
(iv) mkdir command

(i) cd command

Q15. The file name should not duplicate

(i) Command names
(ii) Primary name
(iii) First names
(iv) System name

(i) Command names

Q16. Which of the following tool is used to partition your hard drive?

(i) mkfs
(ii) fdisk
(iii) fsck
(iv) mount

(ii) fdisk

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

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

(ii) lpr

Q18. Which file is the list of commands you recently entered stored in?

(i) .bashrc_history
(ii) .history
(iii) .bash_history
(iv) .bash_list_history

(iii) .bash_history

Q19. Which command is used to display list of files and subdirectories in linux?

(i) dir command
(ii) mkdir command
(iii) rmdir command
(iv) cat command

(i) dir command

Q20. What is mainly used for creating, deleting and editing the files?

(i) Editors
(ii) Compilers
(iii) Interpreter
(iv) Word processors

(i) Editors

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

Your email address will not be published. Required fields are marked *

Scroll to Top