Tip Category 2 tips networking

Networking

2 Total Tips
2 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
How to Troubleshoot Linux Network Issues Quickly? Quick Answer: Use ip -c -br addr show && ip route && ip neigh to instantly check interfaces, routing, and ARP tables. The modern ip command replaces outdated tools like ifconfig and netstat for comprehensive network diagnostics. Essential Network Troubleshooting Commands Frequently Asked Questions Q: What command replaces […]
Bash
ip -c -br addr show && echo "--- ROUTES ---"...
luc 26 min read
Read Tip