5.5 Command Line Tools Flashcards

1
Q

What does Ping do?

A

Tells us if device is on the network.

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

What Protocol does Ping use

A

ICMP

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

How to stop a process in cmd

A

Control C

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

Traceroute

A

Determines the Route between my device and the destination and maps entire path.

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

What is the traceroute command in windows

A

tracert

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

Does traceroute use ICMP?

A

Yes

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

Which aspect of ICMP does traceroute use?

A

TTL Exceeded error message

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

What does the time in TTL refer to?

A

Hops not seconds or minutes

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

What does TTL=1 and TTL=2 refer to

A

router 1 and router 2

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

Not all devices reply with ICMP Time Exceeded messages why?

A

Firewall or ICMP is low priority for many devices

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

how do you know if your tracert is being filtered

A

asterisks

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

how does it work?

A

requet is send, once it reaches the first router TTL is one so it sends back 1 and the IP address. Then the request is 2 so it sends it to the second router then back to home router. keeps going like that until final router is found.

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

what does nslookup do

A

Query’s a DNS server to obtain domain name or IP address

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

nslookup still used?

A

No. use dig. Not windows native.

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

What is nslookup used for

A

to look up IP address assoicated with domain name and vice versa

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

Acromin for DIG

A

Domain Info Grouper

17
Q

what does dig do

A

provides detailed info about DNS records and is commonly used for troubleshooting DNS issues

18
Q

TCPDUMP

A

CMD packet analyzer, allows you to capture packets from CMD line

19
Q

netstat

A

network statists - shows all active connections.

20
Q

netstat -b

A

command is used to display the list of executable files involved in creating each connection or listening port on your system.

21
Q

how to show more advanced IP info

A

ipconfig

22
Q

ARP

A

determine MAC address based on an IP address.

23
Q

what does ARP -a do

A

shows ip and mac address on local subnet.

24
Q

Why use dig

A

to find DNS IP and associated DNS records.

25
Q
A