Commands Flashcards

1
Q

What does the ping command do?

A

Tests reachability and determines round-trip time.

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

What does the netstat command do?

A

Provides network statistics on many different operating systems.

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

What does the netstat -a command do?

A

Shows all active connections.

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

What does the netstat -b command do?

A

Shows binaries (Windows).

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

What does the netstat -n command do?

A

Does not resolve names.

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

What does the traceroute command do?

A

Determines the route a packet takes to a destination and maps the entire path using tracert (Windows) or traceroute (POSIX).

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

What does the nslookup command do?

A

Looks up names and IP addresses from DNS servers, available on both Windows and POSIX-based systems.

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

What does the dig command do?

A

Provides more advanced domain information, probably your first choice for domain queries.

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

What does the arp command do?

A

Determines a MAC address based on an IP address.

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

What does the arp -a command do?

A

Views the local ARP table.

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

What does the ipconfig command do?

A

Provides Windows TCP/IP configuration.

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

What does the ifconfig command do?

A

Provides Linux interface configuration.

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

What does the tcpdump command do?

A

Captures packets from the command line and is available in most Unix/Linux operating systems. It can apply filters, view in real-time, save the data in pcap format, and can be overwhelming to parse and filter.

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

What does the nmap command do?

A

Network mapper that finds and learns more about network devices, performs port scans, operating system scans, and service scans.

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

What does the netcat command do?

A

“Reads” or “writes” to the network by opening a port and sending or receiving some traffic. It has many different functions, such as listening on a port number, transferring data, scanning ports, and can become a backdoor to run a shell from a remote device.

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