Tip Category 1 tip security

Security

1 Total Tips
1 Intermediate
How to Kill Process by Port in Linux? Quick Answer: Use sudo kill -9 $(lsof -t -i:8080) to kill processes using port 8080. Replace 8080 with your target port. The lsof -t -i:PORT finds process IDs, and kill -9 forcefully terminates them. Essential for freeing up occupied ports. Essential Kill Process by Port Commands Frequently […]
Bash
sudo kill -9 $(lsof -t -i:8080)
luc 33 min read
Read Tip