Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

kill occupation port windows

// Option 1: if you have npm@5.2.0^ version
npx kill-port 8080

// Linux
kill -9 $(lsof -t -i tcp:8080)

// Windows command line:
for /f "tokens=5" %a in ('netstat -aon ^| find ":8080" ^| find "LISTENING"') do taskkill /f /pid %a

// Windows bat-file:
for /f "tokens=5" %%a in ('netstat -aon ^| find ":8080" ^| find "LISTENING"') do taskkill /f /pid %%a
Comment

PREVIOUS NEXT
Code Example
Shell :: linux check user group list 
Shell :: Search for file using bash 
Shell :: How to Block apache Ports 
Shell :: how to safely remove partner modules magento2 
Shell :: Katie Leung 
Shell :: Zathura not working 
Shell :: ubuntu 20.04 install google cloud sdk 
Shell :: ubuntu history select 
Shell :: search for filename recursively linux 
Shell :: mac os htop not returning cpu 
Shell :: install werkzeug 
Shell :: ubuntu check whats taking space 
Shell :: nano with line numbers 
Shell :: setxkbmap toggle 
Shell :: change directory cmder 
Shell :: how to see deleted commit git 
Shell :: angular install version 12 
Shell :: how to remove git hooks 
Shell :: How to create folder and cd into it with one command 
Shell :: asdf local 
Shell :: how to remove a file inside jar file in linux 
Shell :: Error: Fetching /usr/local/Homebrew/Library/Taps/commands/homebrew-pup failed! 
Shell :: clone project from specific branch 
Shell :: export editor nano 
Shell :: isntall jest cli 
Shell :: bash print last n lines of file 
Shell :: heroku clear build cache 
Shell :: install pyaudio in pycharm 
Shell :: download bangla font ubuntu 
Shell :: print first lines of file linux 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =