Linux – Section 2

1. What command is used to save the standard output in a file, as well as display it on the terminal?

A. tee
B. grep
C. cat
D. more
E. None of the above

Correct Answer: A. tee

2. What command is used to count just the number of lines contained in a file?

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

Correct Answer: D. wc – l

3. In OSI network architecture, the routing is performed by

A. session layer
B. transport layer
C. data link layer
D. network layer
E. None of the above

Correct Answer: D. network layer

4. The 32-bit internet address 10000000 00001010 00000010 00011110 will be written in dotted decimal notation as

A. 128.10.2.30
B. 210.20.2.64
C. 164.100.9.61
D. 148.20.2.30
E. None of the above

Correct Answer: A. 128.10.2.30

5. Which class network is used for a collection of a small number of networks with a large number of nodes?

A. Class A
B. Class B
C. Class C
D. All of the above
E. None of the above

Correct Answer: A. Class A

Leave A Comment?

20 − 14 =