News for hackers. Stuff that matters.
Re:I got tired of never knowing what ports are running, so I... by HackerThemAll on Tuesday September 29, 2026 @08:05AM (#49891773)
> couldn't stand how opaque the process is to see what ports are occupied

Discover shell aliases... You only need to remember "port"...

This is for Linux

  alias port="sudo ss -tulnp"
This is for macOS

  alias port="sudo lsof -nP -i -sTCP:LISTEN"
Re:I got tired of never knowing what ports are running, so I... by tomjohndesign on Monday October 05, 2026 @11:21PM (#49973771)
Why would I want to remember anything. This is always remembering for me.