today's howtos
LinuxConfig ☛ Quick Docker Installation on Ubuntu 24.04
-
Searching for Available Packages in GNU/Linux Through CLI – Complete Guide
In the intricate landscape of Linux, efficient package management stands as a cornerstone for system administrators and enthusiasts alike. The ability to swiftly discover and install packages directly from the command line streamlines the deployment of software and enhances the overall functionality of a GNU/Linux system. This guide embarks on a journey to demystify the process of searching for available packages through command-line interfaces, empowering users to harness the full potential of their GNU/Linux distributions.
-
TecAdmin ☛ Counting the Number of Blank Lines in a File on Linux
Linux, known for its efficiency and flexibility, offers various methods to perform simple yet essential tasks like counting the number of blank lines in a file. This capability is particularly useful for programmers and system administrators who often work with text files and scripts.
-
Matthew J Ernisse ☛ Restoring Sane Logging On Debian 12 (bookworm)
One of the changes Debian made in their 12.0 (bookworm) release was to eschew the long-standing and well understood syslog system in favor of a needlessly complex logging system built into systemd. I insist on storing log data centrally for ease of troubleshooting, management, and analysis. I find it to be good practice for any size of deployment of systems larger than one. I use syslog-ng for this purpose so I find systemd-journald(8) to be completely unfit as a replacement. I understand that the systemd people think that their way makes sense for workstation deployments (and it probably does, it smells a lot like the logging in macOS), but much like every single year before it, this is not the year of Linux on the desktop so I find that argument unpersuasive.
I have found that there are several steps to restoring reasonable behavior to the system and thankfully they were reasonably easy to add to my Puppet and Ansible configuration management systems (as Raspbian / Raspberry Pi OS is based on Debian it seems to have inherited at least some of this behavior and as I have not been able to get rid of all the Raspberry Pi systems in my environment I find myself still burdened with needing to maintain a couple Ansible playbooks to manage these underpowered, sad little machines at least for now).
-
IT Tavern ☛ Bandwidth Measurement using netcat on Linux
Netcat's using TCP by default and this test is not limited by disk I/O from what I understood. That said, it is not the best solution, but it is a great 'quick and dirty' method. Additionally, there is no encryption overhead and no compression involved.