1000+ Unix MCQ Questions and Answers Pdf - 2

Question: 6

In Unix, which of the following commands is used to remove files?

(A) dm

(B) rm

(C) delete

(D) erase

Ans; B

rm

Question: 7

In Unix, which command is used to set the three permissions for all the three categories of users of a file?

(A) chmod

(B) chusr

(C) chown

(D) chgrp

Ans: A

chmod

Question: 8

In Unix, which command is used to print a file?

(A) print

(B) prn

(C) lp

(D) pg

Ans: C

lp

Question: 9

In Unix, which operator will be used with chmod command to assign absolute permission?

(A) +

(B) -

(C) %

(D) =

Ans: D

=

Question: 10

In Unix, which of the following commands is used to update access and modification times of a file?

(A) cat

(B) wc

(C) grep

(D) touch

Ans: D

touch

Related Questions