Linux ethernet troubleshooting

Two commands that I should know off the top of my head but I didn't...

Show what ports are open on the local box, and what is opening them
netstat -nap Show the arp/mac table of a linux box for a specific host arp -a [hostname]


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.139.83.248
To prevent spam please submit by clicking the kitten: