Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to kill a port on mac

npx kill-port 3000
Comment

kill server on port mac

//Find Pid
sudo lsof -i :3000
//kill
kill -9 <pid>
Comment

how to kill a service based on port number on mac

lsof -P | grep ':PortNumber' | awk '{print $2}' | xargs kill -9
Comment

PREVIOUS NEXT
Code Example
Shell :: oh my zsh git 
Shell :: echo new line to file 
Shell :: speedtest cli 
Shell :: install istio on kubernetes on OS linux 
Shell :: gunicorn 
Shell :: Push an existing repository to an empty github repository 
Shell :: github create repo from terminal 
Shell :: wsl2 ubuntu xfce 
Shell :: test server download speed 
Shell :: ps see full command 
Shell :: git repo example 
Shell :: remove empty page pdf 
Shell :: letencrpt 
Shell :: linux send syslog message to remote server 
Shell :: android studio tortoise git 
Shell :: powershell tcp reverse shell 
Shell :: untrack lfs file 
Shell :: git find commit id by message 
Shell :: install scrapy 
Shell :: The CUDA compiler identification is unknown CMake Error at CMakeLists.txt:441 (enable_language): No CMAKE_CUDA_COMPILER could be found. 
Shell :: Install Inkscape 1.x manager ubuntu 
Shell :: git new branch from current 
Shell :: make flameshot default 
Shell :: Compress files powershell 
Shell :: No such keg: /usr/local/Cellar/git 
Shell :: how to run a ipynb file in cmd 
Shell :: how to make QtWebengine have smooth scrolling 
Shell :: file system ntfs not configured in kernel 
Shell :: centos helm 
Shell :: git config --global user.name "Server" 
ADD CONTENT
Topic
Content
Source link
Name
6+5 =