Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mac list used port

sudo lsof -nP -i4TCP:$PORT | grep LISTEN
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mac #list #port
ADD COMMENT
Topic
Name
3+6 =