Command-Line Utilities Quiz Flashcards

1
Q

Which of the answers listed below refers to an ipconfig command parameter used for displaying the full TCP/IP configuration information for all adapters?

-a
/?
/all
/-a

A

/all

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which ipconfig parameter allows to view the physical address of a Network Interface Card (NIC)?

-S srcaddr

/all

-i address

eth_addr

A

/all

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following command-line commands in MS Windows are used for resetting the DHCP configuration settings for all adapters? (Select 2 answers)

ifconfig eth0 down
ipconfig /release
ifconfig eth0 up
ipconfig /renew

A

ipconfig /release

ipconfig /renew

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the name of a Linux command-line utility that can be used to display TCP/IP configuration settings?

ifconfig
netstat
nslookup
ipconfig

A

ifconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The ip command in Linux is the preferred replacement for:

netstat
ifconfig
nslookup
ipconfig

A

ifconfig

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A network command-line utility in MS Windows that tracks and displays the route taken by IPv4 packets on their way to another host is called:

ping
traceroute
nslookup
tracert

A

tracert

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which netstat parameter allows to display all active TCP connections and the TCP/UDP ports on which the computer is listening?

-a
-p
-e
-r

A

-a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which of the following command-line commands in MS Windows are used to display the contents of a routing table? (Select 2 answers)

netstat -p
route print
netstat -a
print route
netstat -r

A

route print

netstat -r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which netstat parameter allows to display the names of applications and executable file components that are accessing the network?

-a
-n
-b
-p

A

-b

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which of the following commands displays the name of the current computer a user is connected to?

host
hosts
hostname
localhost

A

hostname

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of the following answers refers to a command-line packet capturing utility?

netcat
tcpreplay
nmap
tcpdump

A

tcpdump

How well did you know this?
1
Not at all
2
3
4
5
Perfectly