Shell Tricks: Check what's listening on a port

50 · Brett Terpstra · Dec. 16, 2024, 6:33 p.m.
Summary
This blog post introduces a useful shell script to check which process is listening on a specified TCP port. It provides a snippet for a Bash script and a Fish function to enhance local service management by identifying port usage, along with setup instructions for secure password management using the keychain.