Which of the following commands will show active UDP connections on a Linux system? (Choose all that apply.)

A. netstat -u
B. netstat --udp
C. netstat -t udp
D. netstat udp


Answer: A & B.

netstat -u and netstat --udp

Computer Science & Information Technology

You might also like to view...

A user of a one-button mouse can simulate pushing the middle button on a three-button mouse by holding the while clicking the left mouse button.

a. Alt key. b. Meta key. c. Ctrl key. d. Shift key.

Computer Science & Information Technology

In C++11 reference variables that can refer only to temporary objects that would otherwise have no name are called __________ and are declared with a __________.

a. rvalues, ampersand (&) b. lvalues, ampersand (&) c. lvalues, double ampersand (&&) d. rvalues, double ampersand (&&) e. None of these

Computer Science & Information Technology

Why should you use getline()for string data?

A. It removes the spaces between the words. B. It reads all characters until the Enter key. C. getline()isn’t made for strings. D. It works the same as cin >>.

Computer Science & Information Technology

The class ObjectOutputStream contains all of the following methods except:

(a) writeInt() (b) writeChar() (c) writeDouble() (d) println()

Computer Science & Information Technology