Command Line Tools Flashcards

(8 cards)

1
Q

Ping Device Command

A

ping (on Windows, Linux & macOS)

The ping command tests network connectivity by sending Internet Control Message Protocol (ICMP) echo requests and the output shows packet loss and latency.

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

Trace Route Command

A

tracert (on Windows)
traceroute (on Linux & macOS)

A tool that shows the path packets take to a destination. Shows how many hops.

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

Path Ping Command

A

pathping (on Windows)

Combines ping and tracert by measuring packet loss at each hop. Linux and macOS do not include pathping, but similar functionality can be achieved using ping + traceroute or mtr.

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

Lookup DNS Server Info Command

A

nslookup (on Windows)
dig (on Linux & macOS)

Used to query Domain Name System (DNS) servers. Provides detailed DNS query output; dig is considered the advanced version of nslookup.

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

Packet Capture Command

A

WinDump (on Windows)
tcpdump (on Linux & macOS)

Captures packets from the command line, functioning as a text-based alternative to Wireshark.

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

Network Statistics Command

A

netstat (on Windows, Linux & macOS)

Displays active connections and ports.

netstat -a shows all connections

netstat -b shows executable names (Windows only)

netstat -n displays numerical IPs instead of names. Works on Windows, Linux, and macOS.

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

IP Configuration Command

A

ipconfig (on Windows)
ifconfig or ip address (on Linux & macOS)

Shows and manages IP settings.

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

Address Resolution Protocol Command

A

arp -a (on Windows, Linux & macOS)

Displays the Address Resolution Protocol (ARP) cache, showing mappings of IP addresses to Media Access Control (MAC) addresses.

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