#Bash #Scripting scheint so ne Art moderne Selbstgeiselung zu sein, genauso wie #Perl

Gestern abend auf der #gpn24 haben Martin vom #linuxhotel , Martin (bka/better known as @leyrer ) und Harald "Drei Klammern in der #bash " vorgestellt - und am Ende ist ihnen aufgefallen, dass es eigentlich vier Klammern gibt 😉 (mir ist das als alter bash-Warrior vorher auch nicht aufgefallen!)

https://media.ccc.de/v/gpn24-622-die-drei-klammern-und-die-bash

Alles in allem ein sehr kurzweiliger und sowohl unterhaltsamer als auch lehrreicher und impulsiver Talk, den man nächstes Mal doch besser wieder "eine Klammer = ein Talk" machen sollte wie bereits in https://media.ccc.de/v/gpn21-110-geschweifte-klammern-in-der-bash vorgemacht 👍

Bitte weiter so! Und nach den Klammern gibt es noch viele weitere Sonderzeichen in der bash, die eines Talks würdig sind ♥️

Die drei Klammern [] {} () und die BASH

Die Idee kam bei einem Shell-Vortrag von Leyrer anno 2023: es gibt so viele verschiedene Klammer-Typen in der Shell, und so viele verschi...

Mein kleiner #GoToSocial #Debian 13 Server wird momentan aus China von einer massiven Rotte #SSH Login #Bots zugemüllt. Es sind ganze /24er Netze. #Fail2Ban wäre für den kleinen Server Overkill und würde vermutlich mehr schaden als nützen. Also etwas kleines handliches. Ein Script, welches das Journal nach Loginversuchen abgrast und die Blöcke für 24h erdet. Mal sehen, ob ich die Zeit noch verlängern werde. Die Lümmels haben sogar den unüblichen Port gefunden. Wenn ich ihn verschiebe, dauert es nicht lange, bis sie dort aufschlagen. Und so habe ich #nftables und ein kleines #bash Script eingesetzt, um das Treiben zu bremsen. Es funktioniert gut. Momentan sind direkt 5 verschiedene /24 Netze blockiert.
https://notes.j62.de/?file=Gemini-SSH-Schutz+mit+nftables+und+Scripts.md
Meine Loseblatt-Sammlung

On my Synology NAS at home I use Restic rest server as backup target...( and a Restic wrapper "IML backup" as client). The restic server was installed by a my installer https://github.com/axelhahn/restic-http-server-for-synology

I am very thankful for the pull request that adds multi architecture support for other Synology NAS:
https://github.com/axelhahn/restic-http-server-for-synology/pull/4

Free software rulez!

#restic #resticBackups #bash #freesoftware

How to run a .bat file? #bash #wine #2404

https://askubuntu.com/q/1567493/612

How to run a .bat file?

I'm on Ubuntu 24.04 and I have the 9.something version of Wine installed. I have a few games which require running a .bat file (since it wasn't made for Linux) in order to work. When I try to right-

Ask Ubuntu
If you ever get the chance to hear Harold, Leyrer and Martin give a presentation on #bash take it. Not only informative but entertaining. #gpn24

Using sed at the command line is one thing.

Using sed correctly inside Bash scripts is where many people hit quoting and variable expansion problems.

This guide explains how Bash and sed work together in real automation workflows.

https://www.linuxteck.com/how-bash-uses-sed-for-text-editing/

#LinuxTeck #Linux #Bash #ShellScripting

How Bash Uses Sed For Text Editing: Practical Guide With Examples

Learn how bash uses sed for text editing with real script examples. Master quoting rules, variables in sed, loops, conditionals, and reusable functions.

LinuxTeck

A CI/CD pipeline isn't config. It's business logic - how you test, scan, promote, deploy - locked in one platform's dialect. Switch platforms, rewrite it all.

Brik makes it a portable Bash program: one pipeline, same on GitLab, Jenkins, and local.

https://scalastic.io/en/brik-cicd-portable-bash/

#CICD #devops #Bash #gitlab #Jenkins #local

Brik: A Portable CI/CD Written in Bash

Brik is a portable CI/CD written in Bash: a standard workflow, declarative configuration, and the same pipeline on GitLab, Jenkins, and locally. Architecture, registry, scheduling, and concrete features.

Scalastic
How to Prevent Hugo From Publishing Draft Posts Accidentally

Learn how to use a Bash script to check draft status in CI and local workflows to prevent accidentally publishing draft content on Hugo.

BurgeonLab