r_bash – Telegram
Crypto backup tool

It uses zip and gnupg.

**Features**:

* double encrypt: by zip and by gnupg
* generate hash'es from given password with 1000 iterations, it's prevent easy brute force
* once setup: just use symlinks in backup directory
* ready for cron: just use env variable
* simple for code review and modify

[https://github.com/LazyMiB/Crypto-Backup-Tool](https://github.com/LazyMiB/Crypto-Backup-Tool)

https://redd.it/1p4fjhj
@r_bash
Beginner-friendly Bash project: Real-time CPU Usage Monitor Script (with alerts + logs)

Sharing a small Bash automation project I built for practice. This noscript monitors CPU usage in real-time using top \+ awk, sends an alert when the CPU crosses a threshold, and logs usage automatically.

Step-by-step explanation: https://youtu.be/nVU1JIWGnmI
Complete source code at https://github.com/Abhilashchauhan1994/bash\_noscripts/blob/main/cpu\_usage.sh

https://redd.it/1p4nobz
@r_bash
How to assign default value to variable and convert to uppercase in 1 line?

I typed this in the browser search box and Google AI said this is supposed to work

VAR=${VAR^^:-DEFAULT_VALUE}

I tried it inside a noscript file (.sh) and in the console and it does not work.

Any ideas on how it can be done? thanks

PS: I'm using bash 5.x



https://redd.it/1p7uof7
@r_bash
Bash tool to view Linux group info

I was reading the book "Practical Linux System Administration" and it mentioned the "groupmems" command, and I noticed it's missing on Debian 13. So I wrote a small Bash noscript to view regular group members and improved it over a few days.
It only shows regular group info. It can list groups with no members, it separates users for whom a group is primary from those for whom it’s supplementary, and a few other small features.
I'll add some account sprawl checks to it I guess.
If you think of anything practical that fits the scope, I can add it.

https://github.com/mim-s/gshow

https://redd.it/1p6qjkd
@r_bash