Top 550+ Solved Operating System Architecture MCQ Questions Answer

From 601 to 615 of 627

Q. Which command is used to assign only read permission to all three categories of the file 'note'?

a. chmod go+r note

b. chmod a-rw

c. chmod ugo=r note

d. chmod u+r,g+r,o x note

  • c. chmod ugo=r note

Q. The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has

a. executable permission only

b. write and executable permissions

c. both read and executable permissions.

d. both read and write permissions

  • d. both read and write permissions

Q. Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it?

a. who | tee user.lst

b. who > user.lst

c. who >> user.lst

d. who < user.lste

  • a. who | tee user.lst

Q. Which command is used to display all the lines with the string 'sales' from the file empl.lst?

a. cut sales empl.lst

b. /sales > empl.lst

c. grep sales empl.lst

d. cat | /sales > empl.lst

  • c. grep sales empl.lst

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

a. erase

b. delete

c. rm

d. dm

  • c. rm

Q. Which command is used to terminate all processes in your own system except the login shell?

a. kill 1

b. kill 0

c. cancel all

d. cancel 1

  • b. kill 0

Q. Which command is used to link the files?

a. ik

b. in

c. cp

d. tar

  • b. in
Subscribe Now

Get All Updates & News