Unix – Section 1

21. The agency that sits between the user and the UNIX system is called the

A. logic
B. profile
C. shell
D. erxc
E. None of the above

Correct Answer: C. shell
Advertisement

22. Which of the following commands is used to update access and modification times of a file?

A. grep
B. wc
C. touch
D. cat
E. None of the above

Correct Answer: C. touch
Advertisement

23. Which command is used to count just the number of characters in a file?

A. wc – 1
B. wc -c
C. wc -w
D. wc -r
E. None of the above

Correct Answer: B. wc -c
Advertisement

24. Which of the following commands is used to list contents of directories?

A. ls
B. lp
C. dir
D. tar
E. None of the above

Correct Answer: A. ls
Advertisement

25. Which command is used to display a file contents in octal form?

A. cd
B. od
C. of
D. oct
E. None of the above

Correct Answer: B. od
Advertisement
NEXT POST >Unix - Section 2

Leave A Comment?