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 :: clear mac dns cache 
Shell :: notebook 
Shell :: install snap on linux redhat 
Shell :: install serverless 
Shell :: linux delete appledouble ds_store files 
Shell :: alpine linux free port 
Shell :: how to remove all picture in folder with command line 
Shell :: vs code always says rebasing git 
Shell :: kill python processes 
Shell :: vs code set ubuntu wsl as default terminal 
Shell :: powerline fonts install 
Shell :: pip install requirements.txt 
Shell :: list recently updated packages arch 
Shell :: homebrew linux 
Shell :: full path of file linux 
Shell :: how to install keras ocr 
Shell :: install rvm ubuntu 20.04 
Shell :: read password bash 
Shell :: github workflow bash argument variable 
Shell :: linkedin video downloader terminal 
Shell :: How to download Net Beans onto linux ubuntu 
Shell :: bash if file contains string 
Shell :: how to check temperature of cpu linux 
Shell :: how to install firefox in kali linux 
Shell :: latex markdown github 
Shell :: env var linux to uppercase lowercase 
Shell :: sqlite3 attempt to write a readonly database 
Shell :: zipalign: command not found mac 
Shell :: mass uninstall packages django 
Shell :: how to check the version of vue-router you are using with yarn 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =