r_bash – Telegram
how do you manage your .bashrc and ,bashprofile

Hi


I'm looking at puppet and setting up standard alias and other things

I don't really want to take over \~/.bashrc or \~/.bash\
profile



I was thinking maybe the way to do this was to add at the bottom

. (or source) \~/.bashrc-puppet

and

. (or source) \~/.bashrc-local


so that what files or other things can add / remove lines to \~/.bashrc puppet can manage the .bashrc-puppet and local mods can go into .bashrc-local

and the same for the bash_profile






https://redd.it/1p4e3yp
@r_bash
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