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/