Shell/Bash: running ports in mac Example
Shell/Bash Example: This is the "running ports in mac" Example. compiled from many sources on the internet by SimpleTutorials.org
list used ports on mac
sudo lsof -PiTCP -sTCP:LISTEN COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME GitHub 850 grgarside 6u IPv4 0x23c345381d089301 0t0 TCP localhost:25035 (LISTEN)
running ports in mac
sudo lsof -PiTCP -sTCP:LISTEN
check all the ports in use mac
$ npx kill-port 3000 8080 8081 Process on port 3000 killed Process on port 8080 killed Process on port 8081 killed
* Summary: This "running ports in mac" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!