Linux – Section 2

26. What command is used to count the number of files in the current directory by using pipes?

A. ls | ws – c
B. ls | wc – w
C. ls | wc – l
D. ls | wc
E. None of the above

Correct Answer: C. ls | wc – l

27. What command is used to count just the number of characters in a file?

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

Correct Answer: C. wc – c

28. How many class A, B and C network IDs can exist?

A. 128
B. 126
C. 16,382
D. 2,113,658
E. None of the above

Correct Answer: D. 2,113,658

29. LILO

A. stands for Linux loader
B. is the Linux boot loader
C. is a tool used to boot the Kernel on x86 hardware
D. All of the above
E. None of the above

Correct Answer: D. All of the above

30. How can you rebuild the RPM file to include the new patches?

A. – – recompile
B. – – rebuild
C. – – generate
D. – – execute
E. None of the above

Correct Answer: A. – – recompile

Leave A Comment?

4 × four =