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 would you lock the user account named csm099?
(i) usermod -l csm099
(ii) usermod -L csm099
(iii) usermod –l csm099
(iv) usermod -lock csm099
(ii) usermod -L csm099
Q2. How would you search for the string clothes at the end of the line in a file called shopping?
(i) grep ‘clothes#’ shopping
(ii) grep ‘clothes!’ shopping
(iii) grep ‘clothes$’ shopping
(iv) grep ‘clothes^’ shopping
(iii) grep ‘clothes$’ shopping
Q3. Which daemon is used for the Apache server?
(i) apached
(ii) httpd
(iii) html
(iv) shttp
(ii) httpd
Q4. What does GNU stand for?
(i) GNU’s not Unix
(ii) Greek Needed Unix
(iii) General Unix
(iv) General Noble Unix
(i) GNU’s not Unix
Q5. What command do you use to create Linux file systems?
(i) fdisk
(ii) mkfs
(iii) fsck
(iv) mount
(ii) mkfs
Q6. Which standard of Unix was followed by Linux?
(i) Byte code
(ii) ANSI
(iii) ASCII
(iv) Unicode
(ii) ANSI
Q7. How would you switch to virtual terminal 1?
(i) Ctrl+Alt+F1
(ii) Alt+F1
(iii) Ctrl+F1
(iv) Shift+Ctrl+F1
(i) Ctrl+Alt+F1
Q8. How would you display running httpd processes?
(i) ps -C httpd
(ii) ps -d httpd
(iii) ps -r httpd
(iv) ps -D httpd
(i) ps -C httpd
(i) What command is used with vi editor to move forward to the end of a word?
(i) c
(ii) d
(iii) b
(iv) e
(iv) e
(iv) e
Q9. Which of the following command is used to see the services running in NFS server?
(i) rpcinfo
(ii) serverinfo
(iii) NFSinfo
(iv) infserv
(i) rpcinfo
Q10. How could you install the file ipchains-1.3.9-5.i386.rpm?
(i) rpm -qip ipchains
(ii) rpm -Uvh ipchains
(iii) rpm -i ipchains* .i386.rpm
(iv) rpm -e ipchains-1.3.9-5.i386.rpm
(iii) rpm -i ipchains* .i386.rpm
Q11. What command is used to print a file?
(i) lp
(ii) pg
(iii) prn
(iv) print
(i) lp
Q12. What hardware architectures are not supported by Red Hat?
(i) SPARC
(ii) IBM-compatible
(iii) Alpha
(iv) Macintosh
(iv) Macintosh
Q13. What command is used to display the top of the file?
(i) grep
(ii) more
(iii) head
(iv) cat
(iii) head
Q14. What command is used to remove the directory?
(i) rdir
(ii) remove
(iii) rd
(iv) rmdir
(iv) rmdir
Q15. Which of the following command can be used to rename a file in LINUX?
(i) ren
(ii) mv
(iii) remove
(iv) change
(ii) mv
Q16. What command is used to count the total number of lines, words, and characters contained in a file?
(i) countw
(ii) wcount
(iii) wc
(iv) count p
(iii) wc
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.