Linux Basic MCQ of Computer Science SET-7 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. How can you rebuild the RPM file to include the new patches?

(i) – – recompile
(ii) – – rebuild
(iii) – – generate
(iv) – – execute

(i) – – recompile

Q2. Which of the following is not a communication command?

(i) grep
(ii) mail
(iii) mesg
(iv) write

(i) grep

Q3. How do you display the kernel release?

(i) kernel -r
(ii) uname -r
(iii) cat /proc/etc/kernel/release
(iv) cat /etc/config/kernel/release

(ii) uname -r

Q4. Which command creates an empty file if file does not exist?

(i) touch command
(ii) mk command
(iii) mkfile -e command
(iv) mkdir command

(i) touch command

Q5. When you are in the command mode, what takes you to the line editing mode?

(i) Cursor
(ii) : colon
(iii) Esc
(iv) Enter

(ii) : colon

Q6. How many class A, B and C network IDs can exist?

(i) 128
(ii) 126
(iii) 16,382
(iv) 2,113,658

(iv) 2,113,658

Q7. What command do you use to create Linux file systems?

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

(ii) mkfs

Q8. Which file determines what will be run at each runlevel?

(i) /etc/init/runlevels
(ii) /etc/levels/fstab
(iii) /etc/fstab
(iv) /etc/inittab

(iv) /etc/inittab

Q9. A record consists of

(i) Files
(ii) Folders
(iii) Fields
(iv) Datas

(iii) Fields

Q10. Which command is used to display disk consumption of a specific directory?

(i) du command
(ii) ds command
(iii) dc command
(iv) disku command

(i) du command

Q11. What command is used to count the number of files in the current directory by using pipes?

(i) ls | ws – c
(ii) ls | wc – w
(iii) ls | wc – l
(iv) ls | wc

(iii) ls | wc – l

Q12. What does FSF stand for?

(i) Free Software File
(ii) File Server First
(iii) First Serve First
(iv) Free Software Foundation

(iv) Free Software Foundation

Q13. What does the 2>&1 at the end of the following command mean?find / -name fred.txt > names 2>&1

(i) Send standard error to a file called &1
(ii) Append standard error to a file called &1
(iii) Send standard error to the same place as standard output
(iv) Send the output of the find command to /dev/null

(iii) Send standard error to the same place as standard output

Q14. Which feature is used to prevent overwriting an existing file the redirection operation?

(i) Mkfs
(ii) Man
(iii) Cat
(iv) Noclobber

(iv) Noclobber

Q15. Which command allows you to suspends the calling process for a specified time?

(i) wait command
(ii) notify command
(iii) suspend command
(iv) sleep command

(iv) sleep command

Q16. What command is used to assign executable permission to all of the files named “report”?

(i) chmod ugo + x report
(ii) chmod u + x report
(iii) chmod ugo + rw report
(iv) chmod ugo + r report

(i) chmod ugo + x report

Q17. What file specifies the order in which to use specified name services?

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

(iii) /etc/nsswitch.conf

Q18. How do you run a job that will continue running even if you are logged out?

(i) hup.out command
(ii) hup command
(iii) jobc command
(iv) nohup command

(iv) nohup command

Q19. For what based of PC’s, Linux was specifically designed?

(i) Intel
(ii) HCL
(iii) Wipro
(iv) IBM

(i) Intel

Q20. Which command is used to display current month calendar?

(i) calendar command
(ii) cal command
(iii) date command
(iv) time command

(ii) cal 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