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 is not a filter command?
(i) sort
(ii) wc
(iii) grep
(iv) cat
(iv) cat
Q2. Which of the following command is used to create a Linux installation hoot floppy?
(i) mkboot disk
(ii) bootfp disk
(iii) ww and rawwrite
(iv) dd and rawrite
(iv) dd and rawrite
Q3. Which runlevel allows full multiuser mode but with no graphical login manager?
(i) Runlevel 1
(ii) Runlevel 2
(iii) Runlevel 3
(iv) Runlevel 0
(iii) Runlevel 3
Q4. Which of the following is called as the redirection operator for output?
(i) =
(ii) << (iii) < (iv) >
(iv) >
Q5. Which command is used to search files by name in file system?
(i) find command
(ii) search command
(iii) look command
(iv) scout command
(i) find command
Q6. Which of the following NIS clients returns the name of the NIS server used by the NIS client?
(i) ypwhich
(ii) ypbind
(iii) ypcat
(iv) yppoll
(i) ypwhich
Q7. How many networks and nodes per network, are allowed by the Class B network?
(i) 127 networks and 16,777,216 nodes per network
(ii) 16,384 networks and 65,534 nodes per network
(iii) 2,097,152 networks and 254 nodes per network
(iv) All of the above
(ii) 16,384 networks and 65,534 nodes per network
Q8. How would you avoid accidentally removing files?
(i) rm -i
(ii) rm -chk
(iii) rm -a
(iv) rm -r
(i) rm -i
Q9. What type of editing is possible by Ed editor?
(i) One command
(ii) One file
(iii) One line
(iv) One page
(iii) One line
Q10. Which command is used to sort the lines of data in a file in alphabetical order?
(i) arg command
(ii) srt command
(iii) arrange command
(iv) sort command
(iv) sort command
Q11. What command is used to list the jobs currently in print queues?
(i) lpq
(ii) lpr
(iii) lprm
(iv) lpc
(i) lpq
Q12. The physical layer of a network
(i) constructs packets of data and sends them across the network
(ii) controls error detection and correction
(iii) defines the electrical characteristics of signals passed between the computer and communication devices
(iv) All of the above
(iii) defines the electrical characteristics of signals passed between the computer and communication devices
Q13. How do you create a crontab entry?
(i) crontab –create
(ii) crontab -make
(iii) crontab -e
(iv) crontab –c
(iii) crontab -e
Q14. Which indicate you to find the mode you are working?
(i) Indicator on
(ii) Beep sound
(iii) Status prompt
(iv) Prompt
(ii) Beep sound
Q15. which command is used to count the number of characters in a file?
(i) wc command
(ii) wcp command
(iii) wp command
(iv) wcount command
(i) wc command
Q16. What command is used to compare the files?
(i) ccp
(ii) du
(iii) cmp
(iv) comp
(iii) cmp
Q17. What command is used with vi editor to delete a single character?
(i) x
(ii) y
(iii) a
(iv) z
(i) x
Q18. What is the following syntax used for command 2> /dev/null
(i) Send the output of command to a file called /dev/null
(ii) Discard standard error entirely.
(iii) Append the output of command to a file called /dev/null
(iv) Send error messages from command to a file called /dev/null
(iv) Send error messages from command to a file called /dev/null
Q19. Help for all commands is available at
(i) Man command
(ii) Help command
(iii) Join command
(iv) Tput command
(i) Man command
Q20. sed command is also known as __
(i) system editor
(ii) stream editor
(iii) service editor
(iv) sheer editor
(ii) stream editor
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.