Explore topic-wise MCQs in Testing Subject.

This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.

1.

To remove write permission from group and others, which one of the following commands will be used?

A. chmod go+w file01
B. chmod go-w file01
C. chmod ug-w file01
D. chmod a-w file01
Answer» C. chmod ug-w file01
2.

Which character is used to replace ‘ugo’ string in chmod command?

A. a
B. v
C. x
D. o
Answer» B. v
3.

To assign execute permission to the user (owner) for a file named file01.txt, which of the following command will be used?

A. chmod u+r file01.txt
B. chmod u+w file01.txt
C. chmod u-x file01.txt
D. chmod u+x file01.txt
Answer» E.
4.

Which of the following symbol is used with chmod to assign permission to a file?

A.
B. /
C. +
D. *
Answer» D. *
5.

Which of the following characters specify the user and group category?

A. ‘u’ and ‘g’
B. ‘g’ and ‘o’
C. ‘us’ and ‘gr’
D. ‘u’ and ‘o’
Answer» B. ‘g’ and ‘o’
6.

The expression used with chmod command to change permissions in a relative manner contains ____ components.

A. 5
B. 2
C. 4
D. 3
Answer» E.
7.

chmod command can be used in ____ ways.

A. 3
B. 2
C. 5
D. 0
Answer» C. 5
8.

chmod command can take multiple filenames as arguments.

A. True
B. False
Answer» B. False
9.

Which command is used to change the permissions of a file?

A. chmod
B. ch
C. chown
D. chgrp
Answer» B. ch
Previous Next