Linux Networking Flashcards

1
Q

What is the command to display your ip address?

A

ip address show

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

What is the command to display the routing table?

A

ip route show

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

What is the command to display all the ports the local interface is listening to?

A

netstat -tuna
ss -tuna

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

Which file contains DNS server information?

A

/etc/resolv.conf

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