Unix Multiple Choice Questions and Answers Pdf - 1

Question: 1

In Unix, which option will be used with touch command in change the access time?

(A) -a

(B) -b

(C) -t

(D) -h

Ans: A

-a

Question: 2

In Unix, which of the following commands is used to rename a file?

(A) rename

(B) remove

(C) ren

(D) mv

Ans: D

mv

Question: 3

Which command will be used with vi editor to move back to the beginning of a word?

(A) a

(B) b

(C) e

(D) w

Ans: A

a

Question: 4

Which command will be used with vi editor to insert text to left of cursor?

(A) a

(B) i

(C) s

(D) S

Ans: B

i

Question: 5

In Unix, which command is used to remove a directory?

(A) dldir

(B) rd

(C) rdir

(D) rmdir

Ans: D

rmdir

Related Questions