-- Leo's gemini proxy

-- Connecting to gemini.tuxmachines.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini;lang=en-GB

Tux Machines


today's howtos


Posted by Roy Schestowitz on Apr 10, 2023


9to5Linux Weekly Roundup: April 9th, 2023

Programming Leftovers



What Is the Shebang (#!) Character Sequence in Linux?


↺ What Is the Shebang (#!) Character Sequence in Linux?


> You may have seen a weird line starting with a "#!" at the beginning of Linux scripts and wondered what that was. That's called the "shebang line" and it allows Linux to tell which interpreter to use. Here's how it works.



How to Run Linux Commands in Background and Detach in Terminal


↺ How to Run Linux Commands in Background and Detach in Terminal


> In this guide, we shall bring to light a simple yet important concept in process handling in a Linux system, which is how to completely detach a process from its controlling terminal.



How to Use ‘fsck’ to Repair Linux File System Errors


↺ How to Use ‘fsck’ to Repair Linux File System Errors


> Linux Filesystems are responsible for organizing how data is stored and recovered. One way or another, with time, the filesystem may become corrupted and certain parts of it may not be accessible. If your filesystem develops such inconsistency it is recommended to verify its integrity.


> This can be completed via a system utility called fsck (file system consistency check), which checks the root file system automatically during boot time or ran manually.



A Prometheus Alertmanager alert grouping conundrum


↺ A Prometheus Alertmanager alert grouping conundrum


> We have various host-related alerts in our Prometheus and Alertmanger setup. Some of those are about things on the host not being right (full disks, for example, or network interfaces not being at the right speed), but some of them are alerts that fire if the host is down; for example there's alerts on ping failures, SSH connection failures, and the Prometheus host agent not responding. Unsurprisingly, we reboot our machines every so often and we don't like to get spammed with spurious alerts, so in our Alertmanager configuration we delay those alerts a bit so that they won't send us an alert if the machine is just rebooting. This looks like: [...]



Tired Of Web Scraping? Make The AI Do It


↺ Tired Of Web Scraping? Make The AI Do It


> [James Turk] has a novel approach to the problem of scraping web content in a structured way without needing to write the kind of page-specific code web scrapers usually have to deal with.




gemini.tuxmachines.org

-- Response ended

-- Page fetched on Thu Jun 13 09:13:25 2024