Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to stop a website running on port 8000 or any other port

$ lsof -i TCP:8000 | grep LISTEN #take the number on the second column ex. 794, replace the port number if needed
kill -9 PID_TO_KILL  # replace PID_TO_KILL with the number from above
Comment

PREVIOUS NEXT
Code Example
Shell :: rst bash code block 
Shell :: zsh-autosuggestions change key 
Shell :: how to create tls.crt and tls.key 
Shell :: linux modsecurity allow googlebot 
Shell :: How To Create Notification Using Batch Script 
Shell :: ssh passwordless ssh-copy-id 
Shell :: open prompt with default folder ubunut 
Shell :: docker install ubuntu 
Shell :: bash get line from file 
Shell :: using screen in wsl 
Shell :: softwareupdate mac bash 
Shell :: redis sentinel get master ip 
Shell :: git flow feature finish without deleting branch 
Shell :: delete all empty files and folders in terminal 
Shell :: webdriver-manager install in mac 
Shell :: how to get a github user profile image download url 
Shell :: linux subsystem mount file into windows 
Shell :: git diff no context 
Shell :: chmod 400 command meaning 
Shell :: macbook disable input from built in keyboard 
Shell :: git add everything except 
Shell :: install apache di linux 
Shell :: variable replacement bash zero padding 
Shell :: kali virtualbox guest additions check version 
Shell :: wget typo3 8 
Shell :: `path` for shell provisioner does not exist on the host system: 
Shell :: nano add line numbers 
Shell :: create symbolic link linux apache 
Shell :: make directory in linux 
Shell :: github portfolio 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =