Unix – Section 1

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

Correct Answer: B. -d option

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

Correct Answer: D. -s

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

Correct Answer: A. -a

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

Correct Answer: A. chmod -R a+x progs

Leave A Comment?

one + 19 =