BASH_SRV Telegram 44
🔥 Убиваем процесс по порту в один клик

Когда нужно быстро освободить занятый порт, но неохота копаться в lsof и kill, вот простой и мощный однострочник:


fport() { fuser -k "$1"/tcp; }


Теперь можно просто вызвать:


fport 8080


💡 Этот алиас использует fuser, чтобы найти и завершить все процессы, прослушивающие указанный TCP-порт.

⚠️ Убедись, что fuser установлен (обычно он входит в пакет psmisc):

sudo apt install psmisc # для Debian/Ubuntu
sudo yum install psmisc # для RHEL/CentOS


🚀 Удобно для Dev-серверов, где постоянно перезапускаешь сервисы и ловишь ошибку "Address already in use".

👉@bash_srv
👍5🤔2



tgoop.com/bash_srv/44
Create:
Last Update:

🔥 Убиваем процесс по порту в один клик

Когда нужно быстро освободить занятый порт, но неохота копаться в lsof и kill, вот простой и мощный однострочник:


fport() { fuser -k "$1"/tcp; }


Теперь можно просто вызвать:


fport 8080


💡 Этот алиас использует fuser, чтобы найти и завершить все процессы, прослушивающие указанный TCP-порт.

⚠️ Убедись, что fuser установлен (обычно он входит в пакет psmisc):

sudo apt install psmisc # для Debian/Ubuntu
sudo yum install psmisc # для RHEL/CentOS


🚀 Удобно для Dev-серверов, где постоянно перезапускаешь сервисы и ловишь ошибку "Address already in use".

👉@bash_srv

BY Bash Советы




Share with your friend now:
tgoop.com/bash_srv/44

View MORE
Open in Telegram


Telegram News

Date: |

Those being doxxed include outgoing Chief Executive Carrie Lam Cheng Yuet-ngor, Chung and police assistant commissioner Joe Chan Tung, who heads police's cyber security and technology crime bureau. The Standard Channel Over 33,000 people sent out over 1,000 doxxing messages in the group. Although the administrators tried to delete all of the messages, the posting speed was far too much for them to keep up. Just at this time, Bitcoin and the broader crypto market have dropped to new 2022 lows. The Bitcoin price has tanked 10 percent dropping to $20,000. On the other hand, the altcoin space is witnessing even more brutal correction. Bitcoin has dropped nearly 60 percent year-to-date and more than 70 percent since its all-time high in November 2021. Telegram desktop app: In the upper left corner, click the Menu icon (the one with three lines). Select “New Channel” from the drop-down menu.
from us


Telegram Bash Советы
FROM American