Tooltip 11 : Using lsof to list all open ports and process identifiers
In this short clip, we’ll look at ’lsof’, a simple tool on MacOS to list all open ports and get their process identifiers.
📝:
👉 Tested on MacOS Mojave but should work on earlier versions and all flavours of Linux 👉 ManPage: https://linux.die.net/man/8/lsof 👉 Reference to other commands: https://www.howtoforge.com/linux-lsof-command/