Computer Science - Unix

Exercise :: Unix - Section 1

36. 

Which of the following commands is used to identify the type of file by context?

A. ls
B. cat
C. file
D. more
E. None of the above

Answer: Option C

Explanation:

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

37. 

The field separator in cut command is specified with

A. -a option
B. -d option
C. -r option
D. -x option
E. None of the above

Answer: Option B

Explanation:

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

38. 

Which of the following options will be used to display number of blocks used by a file?

A. -c
B. -i
C. -d
D. -s
E. None of the above

Answer: Option D

Explanation:

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

39. 

Which option will be used with touch command to change the access time?

A. -a
B. -b
C. -t
D. -h
E. None of the above

Answer: Option A

Explanation:

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

40. 

Which command is used to make all files and sub-directories in the directory (progs) executable by all users?

A. chmod -R a+x progs
B. chmod -R 222 progs
C. chmod -1 a+x progs
D. chmod -x a+x progs
E. None of the above

Answer: Option A

Explanation:

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