Command-Line Utilities Quiz Flashcards
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
/all
Which ipconfig parameter allows to view the physical address of a Network Interface Card (NIC)?
-S srcaddr
/all
-i address
eth_addr
/all
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
ipconfig /release
ipconfig /renew
What is the name of a Linux command-line utility that can be used to display TCP/IP configuration settings?
ifconfig
netstat
nslookup
ipconfig
ifconfig
The ip command in Linux is the preferred replacement for:
netstat
ifconfig
nslookup
ipconfig
ifconfig
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
tracert
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
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
route print
netstat -r
Which netstat parameter allows to display the names of applications and executable file components that are accessing the network?
-a
-n
-b
-p
-b
Which of the following commands displays the name of the current computer a user is connected to?
host
hosts
hostname
localhost
hostname
Which of the following answers refers to a command-line packet capturing utility?
netcat
tcpreplay
nmap
tcpdump
tcpdump