Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Networking Notes

Chris edited this page Jan 30, 2018 · 3 revisions

Networking Commands to remember

To continuously listen to network connections

lsof -i -r 2 | grep -E "(LISTEN|ESTABLISHED)"

To list processes that are listening for open port

lsof -P | grep IPv | grep -v localhost
netstat

Working with nmap

To discover hosts on a local network

nmap -sP 192.168.2.1/24

Clone this wiki locally

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /