Top 550+ Solved Operating System Architecture MCQ Questions Answer

From 556 to 570 of 627

Q. Which command is used to make all files and sub-directories in the directory (progs) executable by all users?

a. chmod -r a+x progs

b. chmod -r 222 progs

c. chmod -1 a+x progs

d. chmod -x a+x progs

  • a. chmod -r a+x progs

Q. The second set of the three permissions (r-) indicates that

a. group has read permission only

b. other has read permission only

c. owner has read permission only

d. group has write permission only

  • a. group has read permission only

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

a. second

b. fourth

c. third

d. first

  • c. third

Q. Which command is used to terminate a process?

a. shutdown

b. haltsys

c. cancel

d. kill

  • d. kill

Q. The cp command uses:

a. standard input file

b. standard output file

c. both input and output file

d. neither standard input nor standard output file

  • d. neither standard input nor standard output file

Q. Which command is used to print a file?

a. print

b. prn

c. pg

d. lp

  • d. lp

Q. The command to count the number of files in the current directory by using pipes, is

a. ls | wc

b. ls -l | ws -l

c. ls | wc -w

d. ls | ws -c

  • c. ls | wc -w
Subscribe Now

Get All Updates & News