Kill Service Which Use Certain Port Number

Kubuntu Dec 11, 2020

Dear Pembaca setia,

Kali ini penulis ingin mengabadikan syntax untuk meng-kill service yang menggunakan port tertentu di (K)Ubuntu

lsof -ti tcp:0000 | xargs kill -9

Dengan 0000 merupakan port yang digunakan service tersebut.

Demikian sharing kali ini, terima kasih.

Salam Coding

Tags

Eldest Pasirula

Software Engineer, Blog Writer, $TSLA follower

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.