Иногда бывает ситуация когда dev-сервер по какой-либо причине не закрылся и висит в процессах, занимая порт.
Это может быть из-за падения IDE или просто сам забыл погасить и закрыл терминал.
Для таких случаев я набросал простую функцию с командой:
kill_on_port() {
port=$(lsof -t -i:$1)
echo "KILL PROCESS:" $port
sudo kill -9 $port
}
alias killonport="kill_on_port $@"
Код поместить в ~/.bashrc и рестартнуть систему.
Если во время старта dev-сервера получаете ошибку что порт уже занят, просто выполните команду, подставив свой порт.
Bash
kill_on_port 8000
Скорее всего бесполезно, если другой процесс назначен на перезапуск вашего dev-сервера в случае падения.
Имя команды можете изменить на любое другое.
#linux
#The_Time🇺🇸📕[PDF]⬇️
10 #November2025
#Weekly_Magazines
For learning, for free(dom).
@backupofmagazines
Brain-computer interfaces are moving from labs into real lives, restoring sight and motion while redefining what #NeuroTech means for humanity. TIME explores how chips implanted in the body reshape independence, ethics and care, a story resonating across #AI, #HealthTech and #Futurism. Politics shifts in New York as Eric Adams’ tenure is reassessed, while #SportsCulture returns to center stage with Lindsey Vonn preparing for the 2026 Olympics. Striking visuals from Austria add emotional weight to a week shaped by innovation, leadership and resilience. #TechNews#Innovation
Massive USDC Minting and Meme Coin Scam
🚨 50M USDC minted at USDC Treasury, totaling $50.05M. Meanwhile, investors are falling victim to a scam involving fake Trump-related meme coins. Beware of various tokens like BARRON and IVANKA that are misleadingly launched under false pretenses, all funnelling funds to a scam wallet. ⚠️ Over 600 such tokens already spotted! More details here.
AI funding news:
- Qventus: $85M for AI healthcare ops.
- Prophecy.io: $47M for data pipeline solutions.
- Gesynta Pharma: $27.27M for new drugs.
- Leap Services: $20M for omnichannel retail platform.
- NeuroBionics: $5M for advancing neurotech.
- Atlantic Sea Farms: $3.80M for sustainable seaweed farming.
Find more funding details in the summary!
#USDC#Crypto#AI#Funding#MemeCoins#Scams#Healthcare#Data#Pharma#Retail#Neurotech#Seafood#Tech#Investments#Investing#Finance#Blockchain