Command Line Tools Flashcards

1
Q

A command-line tool that can be used for banner grabbing is called:

  • tcpdump
  • netcat
  • Nmap
  • Wireshark
A

netcat, because it can allow you to read and write to ports

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

Which of the command-line utilities listed below can be used to perform a port scan? (Select 2 answers)

  • Zenmap
  • Nmap
  • tcpdump
  • netcat
  • nslookup
A

Nmap, netcat

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

Which of the following command-line tools is used for discovering hosts and services on a network?

  • Nmap
  • netcat
  • Zenmap
  • tcpdump
A

Nmap

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

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

  • Nmap
  • netcat
  • Zenmap
  • tcpdump
A

tcpdump

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

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
7
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
  • pconfig /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
8
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
9
Q

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
A

/all

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

Used without any parameters, ipconfig displays the IP address, subnet mask, and default gateway for all adapters. (T/F)

A

True

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

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

  • ifconfig
  • nslookup
  • ipconfig
  • netstat
A

ipconfig

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

The arp command can be used to perform what kind of resolution?

  • IP to FQDN
  • MAC to IP
  • IP to MAC
  • FQDN to IP
A

IP to MAC

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

Which command in MS Windows displays a table consisting of IP addresses and their resolved physical addresses?

  • arp -e
  • netstat -n
  • nslookup
  • arp -a
A

arp -a

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

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)

A

False

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

Which of the following CLI tools is used to troubleshoot DNS-related problems?

  • arp
  • nslookup
  • tracert
  • pathping
A

nslookup

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

A Linux command-line utility for displaying intermediary points (routers) an IP packet is passed through on its way to another network node is known as:

  • nbtstat
  • traceroute
  • netstat
  • tracert
A

traceroute

17
Q

A network command-line utility in MS Windows that tracks and displays the route taken by an IP packet on its way to another host is called:

  • ping
  • traceroute
  • dig
  • tracert
A

tracert

18
Q

Netstat is a command-line utility which can be used for:

  • Displaying active TCP/IP connections
  • Testing the reachability of a remote host
  • Displaying intermediary points on the packet route
  • Viewing the TCP/IP configuration details
A

Displaying active TCP/IP connections

19
Q

A security technician was asked to configure a firewall so that the protected system would not send echo reply packets. What type of traffic should be blocked on the firewall to accomplish this task?

  • SRTP
  • ICMP
  • CCMP
  • SNMP
A

ICMP

20
Q

A command-line utility used for checking the reachability of a remote network host is called:

  • ping
  • tracert
  • dig
  • netstat
A

ping

21
Q

DOS command that sends an ICMP echo request message to a host. It’s used to check connectivity between 2 systems.

A

ping

22
Q

A Windows command-line utility used to list the routers (or hops) a packet between two hosts. Can be used to determine the packet’s speed as well as verify that a path has not changed.

A

tracert

23
Q

A troubleshooting command-line utility that displays statistics for active TCP/IP connections. Useful if you suspect a rogue computer connection.

A

netstat

24
Q

A command-line protocol/packet analyzer. Administrators use it to capture packets; functions like a command-line version of Wireshark.

A

tcpdump

25
Q

Utility that performs IP to MAC address resolution; used to determine what a given Layer 3 IP address correspond to (its Layer 2 MAC address). Can also be used to view and manipulate the ARP cache. It helps troubleshoot address resolution problems.

A

arp

26
Q

A Windows tool used to query the DNS system to find the IP addresses for domain names, and vice versa

A

nslookup

27
Q

Windows command used to view NIC network interfaces. It also displays the local IP address, subnet mask, the gateway address, and other network configuration of a computer. Additionally, it is used to refresh DHCP (Dynamic Host Configuration Protocol) and DNS (Domain Name System) settings.

A

ipconfig

28
Q

A network-vulnerability scanner. scans ports, fingerprint systems, creates maps. Frequently used as a vulnerability scanner.

A

netcat

29
Q

A Linux command-line utility used to follow the path a packet takes between two hosts and determine the packet’s speed

A

traceroute

30
Q

A Linux tool used to query the DNS system to find the IP addresses for domain names, and vice versa.

A

dig

31
Q

Linux command that shows the TCP/IP configuration and network interface settings. You can enable promiscuous mode on a NIC. Deprecated.

A

ifconfig

32
Q

Linux command that is a preferred replacement for ifconfig command. Shows the TCP/IP configuration and network interface settings. You can enable promiscuous mode on a NIC.

A

ip

33
Q

A network scanner that includes many capabilities, including identifying all the active hosts and their IP addresses in a network, the protocols and services running on each of these hosts, and the operating system of the host.

A

nmap

34
Q

Graphical version of nmap.

A

Zenmap