Top 80+ Solved Unix Operating System MCQ Questions Answer

From 61 to 75 of 82

Q. Which command is used to terminate a process

a. shutdown

b. haltsys

c. cancel

d. kill

  • d. kill

Q. The command is used to compare the files is known as

a. comp

b. cmp

c. do

d. ccp

  • b. cmp

Q. Which command is used to remove a directory

a. rd

b. rmdir

c. dldir

d. rdir

  • b. rmdir

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

  • a. 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

  • 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]

  • a. cat emp[!0-9]

Q. In vi editor, forward search is performed using the command.

a. :pat

b. :pat

c. /pat

d. all of the above

  • d. all of the above
Subscribe Now

Get All Updates & News