Unix MCQ of Computer Science SET-15 with Answers free PDF Download

We have provide here is the list of Unix MCQs for Computer Engineering preparation competitive exams. Each question has four options followed by the right answer.

MCQ Questions for Unix of Computer Science with Answers

Q1. Which command will be used with vi editor to replace text from cursor to right?

(i) r
(ii) R
(iii) s
(iv) S

(ii) R

Q2. Which command is used with vi editor scroll half page backward?

(i) [Control-d]
(ii) [Control – u]
(iii) [Control-c]
(iv) [Control -P]

(ii) [Control – u]

Q3. Which of the following commands is used to copy directory structures in and out

(i) cp
(ii) cpio
(iii) cp – p
(iv) copy

(ii) cpio

Q4. Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field?

(i) -m.n
(ii) +m.n
(iii) + n.m+1
(iv) +(m+l).n

(ii) +m.n

Q5. Which of the following commands can be used to get information about yourself?

(i) who am i
(ii) i /4
(iii) pwd
(iv) which

(i) who am i

Q6. If you are to use [Control-c] as the interrupt key instead of [Del], then you will have to use

(i) tty ^c
(ii) stty intr \^c
(iii) stty echoe
(iv) stty echo \^a

(ii) stty intr \^c

Q7. Which of the following commands is used to display the filenames in multiple columns?

(i) ls
(ii) ls -1
(iii) ls -x
(iv) lc

(iii) ls -x

Q8. Which command is used to save the standard output in a file, as well as display it on the terminal?

(i) more
(ii) cat
(iii) grep
(iv) tee

(iv) tee

Q9. Which is the earliest and most widely used shell that came with the UNIX system?

(i) C shell
(ii) Korn shell
(iii) Bourne shell
(iv) Smith shell

(iii) Bourne shell

Q10. Which of following commands is used for an automatic reminder service?

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

(iii) calendar

Q11. Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory?

(i) copy programs/wb misc/wbx
(ii) cp programs/wb misc/wbx
(iii) tar programs/wb misc/wbx
(iv) copy a:programs/wb b:misc/wbx

(ii) cp programs/wb misc/wbx

Q12. Which of the following commands is used to remove files?

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

(iii) rm

Q13. Which of the following commands is used to display your working directory?

(i) dir
(ii) prompt $p$g
(iii) pwd
(iv) path

(iii) pwd

Q14. Which of the following shell’s wildcards are used to match any number of characters including none?

(i) [ijk]
(ii) [!ijk]
(iii) ?
(iv) *

(iv) *

Q15. Which of the following keys is used to replace a single character with new text?

(i) S
(ii) s
(iii) r
(iv) C

(ii) s

Q16. Which option will be used with disk free command to include the total amount of disk space in the file system?

(i) -t
(ii) -tt
(iii) -4
(iv) -i

(i) -t

We hope the given Computer Engineering MCQ Questions for Unix with Answers PDF Free Download will help you. If you have any queries regarding Unix MCQs Multiple Choice Questions with Answers, drop a comment below and we will get back to you soons.

Leave a Comment