Basic Network Commands - Linux / macOS Flashcards

(7 cards)

1
Q

ifconfig or ip addr

A

Shows IP addresses and network interfaces.

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

ping <IP/hostname>

A

Tests connectivity.

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

traceroute <IP/hostname>

A

Traces the route packets take.

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

nslookup <domain> or dig <domain></domain></domain>

A

DNS queries.

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

netstat or ss

A

Show network connections and listening ports.

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

arp -a

A

Displays ARP table.

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

hostname

A

Shows system hostname.

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