Linux Basic MCQ of Computer Science SET-6 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. Which of the following subdirectory(ies) contains the system boot scripts.

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

(iii) /etc

Q2. What command is used with vi editor to move back to the beginning of a word?

(i) w
(ii) e
(iii) a
(iv) b

(iv) b

Q3. To display information about the processor itself – display the contents of which file?

(i) /bin/cpu
(ii) /dev/cpuinfo
(iii) /etc/cpu
(iv) /proc/cpuinfo

(iv) /proc/cpuinfo

Q4. Which linux command can be used to display the name of the current working directory?

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

(iv) pwd command

Q5. How will you see the system date?

(i) $ dd
(ii) $ dy
(iii) $ date
(iv) $dt

(iii) $ date

Q6. What does OSS stand for?

(i) Open System Software
(ii) Original Source Software
(iii) Open Source Software
(iv) Original System Server

(iii) Open Source Software

Q7. What command is used to sort the lines of data in a file in alphabetical order?

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

(iv) sort

Q8. What is the purpose of the following operator?

(i) It is used to send the output of one command so it becomes the input of a second command
(ii) It is used to send both input and output to the same file.
(iii) It is used to overwrite the contents of a file.
(iv) It appends data to a file without overwriting it.

(iv) It appends data to a file without overwriting it.

Q9. Which command is used to display the unix version?

(i) uname -ver
(ii) uname -r
(iii) uname -m
(iv) uname -version

(ii) uname -r

Q10. Which was the operating system was created mainly by the efforts of Ken Thomson?

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

(i) Unix

Q11. Which file is used to configure which filesystems are mounted?

(i) /etc/mount.sys
(ii) /etc/filesys
(iii) /etc/sysconfig
(iv) /etc/fstab

(iv) /etc/fstab

Q12. What sign is used to back up over typing errors in vi?

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

(iii) #

Q13. How do you direct the shell to execute a command in the background?

(i) Put an & symbol at the end of the command line.
(ii) Key in fg followed by the command name.
(iii) Press Ctrl+c after you have keyed in the command
(iv) Press Ctrl+d after you have keyed in the command

(i) Put an & symbol at the end of the command line.

Q14. Linux bash is also known as _

(i) kernel
(ii) Bound Again SHell
(iii) Bourne Again Shell
(iv) None

(iii) Bourne Again Shell

Q15. Which shell provides many of the tools found in C language?

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

(iii) Linux

Q16. NIS

(i) is Network Information Service
(ii) is a simple directory service whose main purpose is to allow remote authentication of systems on local network systems
(iii) was formerly known as yellow pages
(iv) allows configuration-such as password and group files

(i) is Network Information Service

Q17. What command is not used to list the files chap01, chap02 and chap04?

(i) ls chap*
(ii) ls chap[124]
(iii) ls – x chap0[124]
(iv) ls chap0[124]

(ii) ls chap[124]

Q18. How do you display your current crontab entry?

(i) crontab -display
(ii) crontab -d
(iii) list –crontab
(iv) crontab -l

(iv) crontab -l

Q19. Core part of linux operating system is called _

(i) kernel
(ii) shell
(iii) hardware
(iv) Both (i) & (ii)

(i) kernel

Q20. Which command copies the contents of the source file after creating the destination file?

(i) .mv
(ii) cp
(iii) cat
(iv) .rm

(ii) cp

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