Top 80+ Solved Unix Operating System MCQ Questions Answer
Q. Which option will be used with sort command to start sorting after the nth column of the (m+1)th field
a. –m.n
b. +m.n
c. +n.m+1
d. +(m+1).n
Q. Which command sends the word count of the file infile to the newfile.
a. wcinfile>newfile
b. wcnewfile
c. wcinfile - newfile
d. wcinfile | newfile
Q. Which command is used to remove the read permission of the file 'note' from both the group and others?
a. chmodgo+r note
b. chmodgo+rw note
c. chmod go-x note
d. chmod go-r, 4-x note
Q. Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?
a. cat emp[!0-9]
b. more [emp][!0-9]
c. cat emp[x-z]
d. cat emp[a-z]
Q. In vi editor, forward search is performed using the command.
a. :pat
b. :pat
c. /pat
d. all of the above
Q. Which of the following command addresses all users who are currently hooked on?
a. write
b. mail
c. wall
d. mesg