Unix – Section 1

41. Which command is used to display and create files?

A. cat
B. vi
C. ed
D. lyrix
E. None of the above

Correct Answer: A. cat

42. 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
E. None of the above

Correct Answer: A. group has read permission only

43. Which column contains all details of the permissions of a file when you issue the ls -l command?

A. second
B. fourth
C. third
D. first
E. None of the above

Correct Answer: D. first

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

A. dir
B. prompt $p$g
C. pwd
D. path
E. None of the above

Correct Answer: C. pwd

45. While working with mail command, which command is used to save mail in a separate file?

A. s
B. r
C. w
D. d
E. None of the above

Correct Answer: A. s

Leave A Comment?

four × two =