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

Linux Basic MCQ of Computer Science SET-9 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 with vi editor to delete three words?

(i) 3$d
(ii) 3 dw
(iii) 3 x
(iv) 3 dd

(ii) 3 dw

Q2. What command is used to remove files?

(i) dm
(ii) rm
(iii) delete
(iv) erase

(ii) rm

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

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

(ii) du

Q4. The prompt of the root user is

(i) @
(ii) #
(iii) %
(iv) $

(ii) #

Q5. To extract specific columns from a file, __ command is used

(i) cut command
(ii) grep command
(iii) ext command
(iv) cp command

(i) cut command

Q6. Which of the following command lists the last 10 lines of a file?

(i) grep
(ii) tail
(iii) head
(iv) cat

(ii) tail

Q7. What file contains the list of port numbers (and associated names) monitored by inetd?

(i) /etc/services
(ii) /etc/nsorder
(iii) /etc/nsswitch.conf/
(iv) /etc/hosts

(i) /etc/services

Q8. What command is used with vi editor to delete three words?

(i) 3$d
(ii) 3 dw
(iii) 3 x
(iv) 3 dd

(ii) 3 dw

Q9. How much of memory space is occupied by Linux?

(i) 4 MB
(ii) 6 MB
(iii) 8 MB
(iv) 12 MB

(i) 4 MB

Q10. Which command is used to add new user in linux system?

(i) tr command
(ii) usergrp command
(iii) useradd command
(iv) uniq command

(iii) useradd command

Q11. What are the appropriate Hex codes for setting Linux swap and Linux native partition types in fdisk?

(i) 82 and 83
(ii) 92 and 93
(iii) 63 and 64
(iv) 82 and 85

(i) 82 and 83

Q12. How many extended partitions can exist on one drive?

(i) 16
(ii) 4
(iii) 2
(iv) 1

(iv) 1

Q13. Which of the following command lists the last 10 lines of a file?

(i) grep
(ii) tail
(iii) head
(iv) cat

(ii) tail

Q14. What is the command that saves the files when the file actually exists?

(i) NN
(ii) DD
(iii) ZZ
(iv) YY

(iii) ZZ

Q15. Which command is used to display uid or gid?

(i) id command
(ii) gid command
(iii) uid command
(iv) pwd command

(i) id command

Q16. To create an installation boot floppy disk from Linux (or another Unix) machine, what command could you use?

(i) fdisk
(ii) fsck
(iii) dd
(iv) rawrite

(iii) dd

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

Q18. Which of the following command is used to mount NFS filesystems?

(i) nfsmount
(ii) knfsd
(iii) mount
(iv) All of the above

(iii) mount

Q19. Which command takes data from one command to another command?

(i) Cat
(ii) Pipe
(iii) More
(iv) Tee

(ii) Pipe

Q20. Which command is used to display the top of file?

(i) head command
(ii) top command
(iii) tail command
(iv) lp command

(i) head command

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