Command Line Tools Flashcards
A command-line tool that can be used for banner grabbing is called:
- tcpdump
- netcat
- Nmap
- Wireshark
netcat, because it can allow you to read and write to ports
Which of the command-line utilities listed below can be used to perform a port scan? (Select 2 answers)
- Zenmap
- Nmap
- tcpdump
- netcat
- nslookup
Nmap, netcat
Which of the following command-line tools is used for discovering hosts and services on a network?
- Nmap
- netcat
- Zenmap
- tcpdump
Nmap
Which of the answers listed below refers to a command-line packet capturing utility?
- Nmap
- netcat
- Zenmap
- tcpdump
tcpdump
The ip command in Linux is the preferred replacement for:
- netstat
- ifconfig
- nslookup
- ipconfig
ifconfig
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
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
- pconfig /release
- ifconfig eth0 up
- ipconfig /renew
ipconfig /release, ipconfig /renew
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 answers lists an ipconfig command parameter used for displaying the full TCP/IP configuration information for all adapters?
- -a
- /?
- /all
- /-a
/all
Used without any parameters, ipconfig displays the IP address, subnet mask, and default gateway for all adapters. (T/F)
True
What is the name of a Windows command-line utility that can be used to display TCP/IP configuration settings?
- ifconfig
- nslookup
- ipconfig
- netstat
ipconfig
The arp command can be used to perform what kind of resolution?
- IP to FQDN
- MAC to IP
- IP to MAC
- FQDN to IP
IP to MAC
Which command in MS Windows displays a table consisting of IP addresses and their resolved physical addresses?
- arp -e
- netstat -n
- nslookup
- arp -a
arp -a
Domain information groper (dig) and nslookup are command-line tools used for DNS queries. Both utilities are available on Windows and Linux. Of the two, nslookup is the preferred tool on UNIX-like systems; dig is the default DNS query tool for MS Windows. (T/F)
False
Which of the following CLI tools is used to troubleshoot DNS-related problems?
- arp
- nslookup
- tracert
- pathping
nslookup