Computer Science - Unix

Exercise :: 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

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option D

Explanation:

root@server [~]# ls -l
....
-rw-------  1 root root    37 Dec 31  2009 .my.cnf
-rw-------  1 root root    737 Aug 18 21:20 .mysql_history
-rw-r--r--  1 root root    264 Aug 18 16:51 .pearrc
....

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

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option A

Explanation:

No answer description available for this question. Let us discuss.