Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to stop a port from listening

# if you have node installed do:
npx kill-port 8888
Comment

stop port

kill -9 $(sudo lsof -t -i:'portName')
//Ex. if portname is 3000
//then we will execute "kill -9 $(sudo lsof -t -i:3000)"
Comment

PREVIOUS NEXT
Code Example
Shell :: ubuntu dns config 
Shell :: git unsafe repository 
Shell :: git view stash 
Shell :: virtualbox kernel driver not installed ubuntu 
Shell :: how to access mongo shell 
Shell :: how to download a text file with curl 
Shell :: wsl add directory to path 
Shell :: change owner for folder and subfolders linux 
Shell :: how to upload code to github 
Shell :: how to remove a non empty directory in linux 
Shell :: cmake set build type from command line 
Shell :: pip upgrade all 
Shell :: launch bash script from application mac without opening terminal 
Shell :: install virtualbox extension pack from command line 
Shell :: https://git-lfs.github.com/ 
Shell :: kill tomcat ubuntu 
Shell :: githu copilot 
Shell :: curl head request 
Shell :: run pm2 in cluster mode 
Shell :: change current branch git 
Shell :: docker clear disk 
Shell :: install composer package from github 
Shell :: install ssh-agent 
Shell :: sed remove line after match 
Shell :: brew install macos 
Shell :: postgres setup Linux Debian 
Shell :: bash load file as array 
Shell :: applescript open new terminal tab 
Shell :: github make new branch 
Shell :: shell nohup 
ADD CONTENT
Topic
Content
Source link
Name
5+6 =