Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: port-to-process, a sysop script to show what's running on a given port (github.com/sixarm)
3 points by jph on July 12, 2018 | hide | past | favorite | 3 comments


I'm seeking hacker advice for this sysop script, to make it more useful on more systems. Currently handles ss, lsof, netstat, fuser, on macOS and Linux. Thanks!


Why is this a shell script? Shouldn't it be just a few documented ways to get such information with mentioned tools? Script is just too much for this, you have to trust the author, trust the source, install it, learn it, run it. While you could've just read few lines of text and run appropriate commands in the terminal.


> Why is this a shell script?

So this can run.

Also, so I can run one command that works on a range of systems.

> Shouldn't it be just a few documented ways to get such information with mentioned tools?

You're welcome to do that. The README.md file is documentation. I welcome constructive feedback.

> you have to trust the author

I am the author, so that's covered. :)




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: