Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu kill specific port 3000

sudo kill -9 $(sudo lsof -t -i:9001)
Comment

ubuntu kill port

You want to use backtick not regular tick:
sudo kill -9 `sudo lsof -t -i:9001`

If that doesn't work you could also use $() for command interpolation:
sudo kill -9 $(sudo lsof -t -i:9001)
Comment

kill port 3000 ubuntu

fuser -n tcp -k 9001 
Comment

ubuntu kill running port

Kill specific port
Comment

PREVIOUS NEXT
Code Example
Shell :: docker ps with ip 
Shell :: how to check hugo version 
Shell :: how to access adb globally on mac 
Shell :: neovim install wsl 
Shell :: wget files matching regex 
Shell :: display record in postgresql 
Shell :: docker remove not running containers 
Shell :: heroku git remote 
Shell :: git clean 
Shell :: wslinux backup 
Shell :: uninstall gitlab-ee 
Shell :: bash only print duplicated lines 
Shell :: git init branch name 
Shell :: git rebase an origin branch into my branch 
Shell :: arch linux fonts 
Shell :: git stash apply item 
Shell :: install sdkman 
Shell :: how to give all permission to a directory in linux 
Shell :: vim save read only file 
Shell :: how to install pg_dump on mac 
Shell :: how to push code to another remote git repository 
Shell :: git clean branches 
Shell :: Cache Your Login Credentials 
Shell :: grep multiple strings 
Shell :: bash exit code status last command 
Shell :: dump cache ubuntu 
Shell :: snap install audacity 
Shell :: oh my zsh apple m1 
Shell :: Undo commit and keep all files staged 
Shell :: how to revert back to previous commit in git 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =