Advanced Networking Commands - Linux / macOS Flashcards

(7 cards)

1
Q

ip addr add <IP>/<mask> dev <interface> iptables L</interface></mask></IP>

A

Assign IP to interface.

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

iptables -L

A

View firewall rules.

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

route add -net <network> gw <gateway></gateway></network>

A

Add static route.

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

tcdump -i <interface></interface>

A

Capture and analyze packets.

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

nmap <IP/range>

A

Scan network hosts and ports.

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

ethtool -S <interface></interface>

A

Show interface statistics.

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

curl -I <url></url>

A

Check HTTP headers, server response.

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