Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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)
Comment

how to check open ports mac

lsof -i -P | grep -i "listen"

Comment

running ports in mac

sudo lsof -PiTCP -sTCP:LISTEN
Comment

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
Comment

ways to identify ports in use on Mac

sudo lsof -i -n -P | grep TCP
Comment

PREVIOUS NEXT
Code Example
Shell :: access windows files from windows ubuntu 
Shell :: users list linux 
Shell :: linux check ip address command 
Shell :: xcode debug show full string 
Shell :: convert csv to json powershell 
Shell :: nvm install latest node and keep global packages 
Shell :: delete all local branches webstorm 
Shell :: ip config ubuntu 
Shell :: snap install chrome 
Shell :: sudo apt install openjdk-14-jdk 
Shell :: anaconda install pyinstaller 
Shell :: lsb release command centos 
Shell :: django gitignore 
Shell :: generate a random password bash 
Shell :: pip install update 
Shell :: how to find where python modules are installed 
Shell :: Failed to execute child process “python” (No such file or directory) 
Shell :: keycloak docker 
Shell :: venv activate 
Shell :: global gitignore 
Shell :: use odbc from powershell 
Shell :: is not in the sudoers file 
Shell :: mac os generate public key from private key 
Shell :: archive tar 
Shell :: git initial commit steps 
Shell :: android check if package is installed 
Shell :: ansible sudo pass 
Shell :: a script that compiles a C file but does not link 
Shell :: uninstall xbox game bar 
Shell :: gitignore ignore everything except 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =