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/