Linux Basic MCQ of Computer Science SET-12 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 sort the lines of data in a file in reverse order?

(i) sort – r
(ii) st
(iii) sh
(iv) sort

(i) sort – r

Q2. What layer of OSI determines the interface of the system with the user?

(i) Session
(ii) Data-link
(iii) Application
(iv) Network

(iii) Application

Q3. The location for subdirectories for local programs and executables for user and administrative commands, is:

(i) /usr
(ii) /tmp
(iii) /opt
(iv) /mnt

(i) /usr

Q4. This structure prevents name collision

(i) Root
(ii) Tree
(iii) Branch
(iv) Leaf

(ii) Tree

Q5. Which command is used to clear the screen or terminal in linux?

(i) chsh
(ii) chown
(iii) clear
(iv) clean

(iii) clear

Q6. Which of the following tool allows you to change your default X Window desktop?

(i) switchdesk
(ii) intrc
(iii) xinitre
(iv) Xchange

(i) switchdesk

Q7. In OSI network architecture, the dialogue control and token management are responsible of

(i) data link layer
(ii) transport layer
(iii) network layer
(iv) session layer

(iv) session layer

Q8. Which program is used to schedule particular jobs or programs at particular times on the system?

(i) vi
(ii) Outlook
(iii) Scheduler
(iv) cron

(iv) cron

Q9. In command mode, all keys on the keyboard become what command?

(i) Managing
(ii) Editing
(iii) Inserting
(iv) Formatting

(ii) Editing

Q10. What are the common features of linux operating system?

(i) Multiuser and multitasking capacity
(ii) Linux is open source
(iii) Linux is secure
(iv) All of the above

(iv) All of the above

Q11. Where can system and mail logs be found in Ret Hat Linux?

(i) /var/log
(ii) /etc/log
(iii) /mail
(iv) All of the above

(i) /var/log

Q12. What command is used with vi editor to append text at end of line?

(i) I
(ii) i
(iii) a
(iv) A

(iv) A

Q13. _ tool allows you to change your default X Window desktop.

(i) utilinux
(ii) cempre
(iii) switchdesk
(iv) window

(iii) switchdesk

Q14. What is the key used to join a line?

(i) I
(ii) J
(iii) O
(iv) N

(ii) J

Q15. What of the following tool is used to check and repair Linux file systems?

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

(iii) fsck

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

Q17. What command is used to query for a specific package with RPM?

(i) rpm -q
(ii) rpm -a
(iii) rpm -d
(iv) rpm -1

(i) rpm -q

Q18. The user who creates the file is called as the

(i) Group owner
(ii) System owner
(iii) File owner
(iv) Other users

(iii) File owner

Q19. Which of the following subdirectory(ies) contains the device files?

(i) /dev
(ii) /bin
(iii) /etc
(iv) /home

(i) /dev

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

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