Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kill all ports mac

lsof -n -i TCP:8080
COMMAND   PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
node     54762   user   23u  IPv4 XXXXXXXXX      0t0  TCP 127.0.0.1:http-alt (LISTEN)
PID // is second field in the response . Then, kill that process:

kill -9 54762 // here put PID number found on the table 54762
Comment

kill port in mac terminal

sudo lsof -i :5955
Comment

how to kill a port on mac

npx kill-port 3000
Comment

kill port mac terminal

sudo lsof -i <Port>
sudo kill -9 <PID>
Comment

PREVIOUS NEXT
Code Example
Shell :: fatal: refusing to merge unrelated histories 
Shell :: download notes app in ubuntu 
Shell :: phpstan install 
Shell :: install ninja on fedora 
Shell :: abort git merge 
Shell :: command line weather 
Shell :: bash delete all files of type recursively 
Shell :: ubuntu camera 
Shell :: kill a process by looking up the port in windows 
Shell :: delete git config all remote url 
Shell :: list active services ubuntu 
Shell :: linux test if string exists in file 
Shell :: rename branch to main 
Shell :: how to list ssh keys 
Shell :: pip install zipfile 
Shell :: ubuntu get partition list 
Shell :: add known host github 
Shell :: uninstall r from mac 
Shell :: how to close sockets ubuntu 
Shell :: responsive grid system angular 
Shell :: albert for ubuntu 
Shell :: composer list all installed packages 
Shell :: how to run an appimage in linux 
Shell :: linux free up ram 
Shell :: wsl delete 
Shell :: update gnome shell 
Shell :: generate pgp key linux 
Shell :: voice recorder in linux 
Shell :: find current working directory bash 
Shell :: linux install fzf 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =