Иногда бывает ситуация когда 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
📰 user.* xattrs On Sockets Merged For Linux 7.1 As Sought By GNOME & systemd Developers
On this first day of the Linux 7.1 merge window, among the early pull requests merged were beginning to land the various VFS pull requests submitted by Christian Brauner. Among that code merged is enabling support for user.* extended attributes on sockets...
🔗 Source: https://www.phoronix.com/news/Linux-7.1-User-xattrs-Sockets
#gnome#linux#systemd
📰 I replaced Android with a full Linux desktop on my old phone, and it's shockingly usable
Pocketblue, based on Fedora Atomic, is great on the OnePlus 6.
🔗 Source: https://www.xda-developers.com/replaced-android-full-linux-desktop-old-phone/
#linux#fedora#android
📰The gaming Linux distro everyone's switching to just made sudo way more secure with your fingerprint
2026 has been a great year for CachyOS, and we're only a quarter of the way in. Earlier in the year, we saw CachyOS dethrone Arch Linux as the top distro for reports in ProtonDB, which ended a year-long reign and showed a pattern of people checking out CachyOS for their gaming needs.
🔗 Source: https://www.xda-developers.com/the-gaming-linux-distro-everyones-switching-to-just-made-sudo-way-more-secure-with-your-fingerprint/
#arch#distro#linux
📰 Pocketblue Brings Fedora Atomic Linux to Mobile Devices
Pocketblue brings Fedora Atomic to select ARM-powered devices, providing users with an immutable Linux system on their phones and tablets.
🔗 Source: https://linuxiac.com/pocketblue-brings-fedora-atomic-linux-to-mobile-devices/
#linux#fedora#arm
📰 Arch-Based Omarchy 3.5 Brings Full Intel Panther Lake Support
Arch-based Omarchy 3.5 adds Intel Panther Lake support with a patched Linux kernel 6.19, Dell XPS 2026 fixes, and new features.
🔗 Source: https://linuxiac.com/arch-based-omarchy-3-5-brings-full-intel-panther-lake-support/
#linux#arch#kernel#intel
📰 Arch-Based Artix Linux 2026.04 Released With XLibre as Default X Server
Arch-based systemd-free Artix Linux 2026.04 is out with XLibre by default and PipeWire replacing PulseAudio in ISOs.
🔗 Source: https://linuxiac.com/artix-linux-2026-04-released-with-xlibre-as-default-x-serve/
#linux#systemd#arch
#rust#bsd#gpu#linux#macos#opengl#rust#terminal#terminal_emulators#vte#windows
Alacritty is a fast, cross-platform terminal emulator that uses OpenGL for smooth performance, works on BSD, Linux, macOS, and Windows, and offers customizable settings while keeping things simple. It’s lightweight, integrates well with tools like window managers or terminal multiplexers, and is already reliable enough for daily use despite being in beta, making it ideal for users who want speed and flexibility without unnecessary features.
https://github.com/alacritty/alacritty
📰Emmabuntüs Debian Edition 6 1.01 Is Out with More Accessibility Improvements
Emmabuntüs Debian Edition 6 1.01 distribution is now available for download based on the Debian GNU/Linux 13.4 “Trixie” operating system. Here’s what’s new!
🔗 Source: https://9to5linux.com/emmabuntus-debian-edition-6-1-01-is-out-with-more-accessibility-improvements
#debian#linux#gnu
#rust#agent#ai#amazon_q#cli#linux#llm#macos#mcp#open_source#productivity#rust#shell#terminal#typescript
Amazon Q CLI is a powerful tool that lets you interact with AWS and your development environment using natural language right from your terminal. It helps you write code, run commands, and manage AWS resources faster by understanding your context and providing smart suggestions, autocompletion, and even translating plain English into shell commands. It supports multi-turn conversations, so you can ask follow-up questions and get real-time help without leaving the command line. This boosts your productivity by simplifying complex tasks, reducing errors, and speeding up development workflows, making it easier to manage projects and infrastructure efficiently[1][2][3].
https://github.com/aws/amazon-q-developer-cli
SystemD Root Access Exploit Found, Devuan Team Calls SystemD "Unicorn Sh*t"
"Found yet another high severity #systemd bug in #Ubuntu: local root privilege escalation (CVE-2026-3888) https://cybersecurity88.com/news/ubuntu-cve-2026-3888-timing-flaw-in-systemd-cleanup-enables-root-privilege-escalation/ Let us wish all #Devuan users a wonderful day out with their family for a merry father's day, instead of showeling unicorn shit."
https://xcancel.com/DevuanOrg/status/2034560405968712179
https://www.youtube.com/watch?v=_yukEnElXUg
Lennart Poettering
#microsoft#Linux#stalking#surveillance#backdoor#trojan