guys you should read the bash manual
https://www.justice.gov/epstein/files/DataSet%209/EFTA00315849.pdf
epstein got y'all covered
https://redd.it/1quky48
@r_bash
https://www.justice.gov/epstein/files/DataSet%209/EFTA00315849.pdf
epstein got y'all covered
https://redd.it/1quky48
@r_bash
Reddit
From the bash community on Reddit: guys you should read the bash manual
Explore this post and more from the bash community
FOSDEM 2026 - Amber Lang - Easily write Bash with a transpiler
https://fosdem.org/2026/schedule/event/GGLZS9-amber-lang-bash-transpiler/
https://redd.it/1quvf5w
@r_bash
https://fosdem.org/2026/schedule/event/GGLZS9-amber-lang-bash-transpiler/
https://redd.it/1quvf5w
@r_bash
fosdem.org
FOSDEM 2026 - Amber Lang - Easily write Bash with a transpiler
just exits the loop without any errors
https://preview.redd.it/ptw8jomon7hg1.png?width=1920&format=png&auto=webp&s=aacffd63ff1ea164ad69ea0da23d878b6cd99e12
is this bash bug?
it exits well for "unbound variable"
but for bad number just stops the loop, exactly like `break` called without any errors that I can catch, it reaches "we never got error",
this should be impossible to reach
zsh (on the right) does not behave the same way
and the noscript:
#!/bin/bash
set -eu # set or unset. does not make a difference
declare -i myint=8
for i; do
(exit 77)
echo handling: i=$i || exit 11
myint=$i || exit 22
echo good: "myint=${myint}" || exit 33
exit 55
done || echo loop got error: $?
echo we never got error
(
{
declare -i myint=8
for i; do
(exit 77)
echo handling: i=$i || exit 11
myint=$i || exit 22
echo good: "myint=${myint}" || exit 33
exit 55
done || echo loop got error: $?
echo NOW WE DONT REACH THIS LINE
} || echo NOT HERE: $?
) || echo BUT HERE WE FINALLY GET ERROR: $?
ignore the
https://redd.it/1quj2f4
@r_bash
https://preview.redd.it/ptw8jomon7hg1.png?width=1920&format=png&auto=webp&s=aacffd63ff1ea164ad69ea0da23d878b6cd99e12
is this bash bug?
it exits well for "unbound variable"
but for bad number just stops the loop, exactly like `break` called without any errors that I can catch, it reaches "we never got error",
this should be impossible to reach
zsh (on the right) does not behave the same way
and the noscript:
#!/bin/bash
set -eu # set or unset. does not make a difference
declare -i myint=8
for i; do
(exit 77)
echo handling: i=$i || exit 11
myint=$i || exit 22
echo good: "myint=${myint}" || exit 33
exit 55
done || echo loop got error: $?
echo we never got error
(
{
declare -i myint=8
for i; do
(exit 77)
echo handling: i=$i || exit 11
myint=$i || exit 22
echo good: "myint=${myint}" || exit 33
exit 55
done || echo loop got error: $?
echo NOW WE DONT REACH THIS LINE
} || echo NOT HERE: $?
) || echo BUT HERE WE FINALLY GET ERROR: $?
ignore the
(exit 77) I was testing if it'll exit from the loop when have set -ehttps://redd.it/1quj2f4
@r_bash
robohelp - A Fast & Friendly CLI for Linux!
Introducing robohelp - A Fast & Friendly CLI for Linux!
At the moment im building robohelp (not to be confused with adobe's robohelp), a lightweight command-line utility designed to make system maintenance on different Linux distributions faster and easier. Whether you’re updating packages, cleaning up unused stuff, or automating routine tasks, robohelp does it with a simple set of commands.
I tryed to build it with simplicity and efficiency in mind, robohelp makes your everyday Linux tasks smoother (hopefully).
Check it out on GitHub: https://github.com/H14d3n/robohelp
Hope you like it and if you want, you can leave a review down below.
https://redd.it/1qwl8mo
@r_bash
Introducing robohelp - A Fast & Friendly CLI for Linux!
At the moment im building robohelp (not to be confused with adobe's robohelp), a lightweight command-line utility designed to make system maintenance on different Linux distributions faster and easier. Whether you’re updating packages, cleaning up unused stuff, or automating routine tasks, robohelp does it with a simple set of commands.
I tryed to build it with simplicity and efficiency in mind, robohelp makes your everyday Linux tasks smoother (hopefully).
Check it out on GitHub: https://github.com/H14d3n/robohelp
Hope you like it and if you want, you can leave a review down below.
https://redd.it/1qwl8mo
@r_bash
GitHub
GitHub - H14d3n/robohelp: Fast and easy command-line utility (CLI tool)
Fast and easy command-line utility (CLI tool). Contribute to H14d3n/robohelp development by creating an account on GitHub.
A Bash wrapper I wrote to manage multiple Docker Compose projects (looking for feedback)
I’ve been running into the same annoyance on servers and homelab machines: managing a growing number of unrelated Docker Compose projects spread across different directories.
Rather than relying on aliases or strict directory conventions, I ended up writing a small Bash wrapper that lets me refer to Compose projects by name and run `docker compose` commands from anywhere.
Example usage:
dcompose media
dlogs website
ddown backup
From a Bash perspective, the noscript:
* auto-discovers Compose projects in a set of common base directories
* keeps a simple registry file for manually added paths
* is pure Bash
* is meant to work well over SSH and on servers
* tries to keep error messages and output readable in a terminal
Repo is here if you want to look at the noscript:
[https://github.com/kyanjeuring/dstack](https://github.com/kyanjeuring/dstack)
Happy to hear feedback.
https://redd.it/1qwrwkh
@r_bash
I’ve been running into the same annoyance on servers and homelab machines: managing a growing number of unrelated Docker Compose projects spread across different directories.
Rather than relying on aliases or strict directory conventions, I ended up writing a small Bash wrapper that lets me refer to Compose projects by name and run `docker compose` commands from anywhere.
Example usage:
dcompose media
dlogs website
ddown backup
From a Bash perspective, the noscript:
* auto-discovers Compose projects in a set of common base directories
* keeps a simple registry file for manually added paths
* is pure Bash
* is meant to work well over SSH and on servers
* tries to keep error messages and output readable in a terminal
Repo is here if you want to look at the noscript:
[https://github.com/kyanjeuring/dstack](https://github.com/kyanjeuring/dstack)
Happy to hear feedback.
https://redd.it/1qwrwkh
@r_bash
GitHub
GitHub - KyanJeuring/dstack: DStack is a small Bash tool that lets you manage multiple Docker Compose projects from anywhere in…
DStack is a small Bash tool that lets you manage multiple Docker Compose projects from anywhere in the terminal. - KyanJeuring/dstack
Thoughts from a system engineer that became a developer
Coding is a craft. At least, that's what it is for me.
I'm continuing my project of documenting my experience as I revisit Bash after years spent as a full-time developer. Can we apply the same mindset we use for complex software project to simple noscripts? Is there a benefit?
I wrote an article about how acquiring a testing mindset can help writing better code, even if at the end you write no test at all (you can read it here, if you like).
Feedback is appreciated.
Happy coding.
https://redd.it/1qwzx5p
@r_bash
Coding is a craft. At least, that's what it is for me.
I'm continuing my project of documenting my experience as I revisit Bash after years spent as a full-time developer. Can we apply the same mindset we use for complex software project to simple noscripts? Is there a benefit?
I wrote an article about how acquiring a testing mindset can help writing better code, even if at the end you write no test at all (you can read it here, if you like).
Feedback is appreciated.
Happy coding.
https://redd.it/1qwzx5p
@r_bash
Lost in IT | Kromg
On Bash Testing: Design, Not Just Safety
Testing Bash noscripts isn't only about catching bugs—it's about writing better code. Discover how the act of testing forces you to design noscripts that are modular, predictable, and maintainable.
Your bash noscripts are brittle - error handling in bash
https://notifox.com/blog/bash-error-handling
https://redd.it/1qxdk4v
@r_bash
https://notifox.com/blog/bash-error-handling
https://redd.it/1qxdk4v
@r_bash
Notifox
Error handling in bash | Notifox Blog
Most bash noscripts are very brittle because error handling is an afterthought. In this blogpost you'll learn about the easiest ways to gracefully catch and handle errors. Best practices and common pitfalls.
Security auditing tool written in Bash
This was my final project for a programme I took some months ago and it's my first project that I posted onto github. It's inspired by lynis.
I'm going to start working on improving it soon, basically a v2 of the tool. Any suggestions of how to improve it would be really appreciated!
https://github.com/Nyveruus/Linux-Audit-Tool
I already listed some possible additions in the readme
https://redd.it/1qycqg1
@r_bash
This was my final project for a programme I took some months ago and it's my first project that I posted onto github. It's inspired by lynis.
I'm going to start working on improving it soon, basically a v2 of the tool. Any suggestions of how to improve it would be really appreciated!
https://github.com/Nyveruus/Linux-Audit-Tool
I already listed some possible additions in the readme
https://redd.it/1qycqg1
@r_bash
GitHub
GitHub - Nyveruus/Linux-Audit-Tool: Linux audit tool, debian
Linux audit tool, debian. Contribute to Nyveruus/Linux-Audit-Tool development by creating an account on GitHub.
Read epstein files directly from your terminal via grepstein.sh
Hi there,
I recently developed a Bash noscript that allows you to read Epstein files directly from your terminal because bash manual found in epstein files and i tought that reading the bash manuel that found in epstein files via bash noscripting is a cool idea. Isn't it ? 😊
It's a simple one, but building it taught me a lot along the way.
You can check out the repository here: https://github.com/sertacartun/grepstein
I’d really appreciate it if you could take a look at the source code and share your thoughts. I didn’t use AI to write this noscript, so I’m sure there are areas that could be improved or optimized—any constructive feedback is more than welcome.
Here’s a short demonstration:
https://youtu.be/Bd55Hh53Dms
Thanks!
https://redd.it/1qzkv53
@r_bash
Hi there,
I recently developed a Bash noscript that allows you to read Epstein files directly from your terminal because bash manual found in epstein files and i tought that reading the bash manuel that found in epstein files via bash noscripting is a cool idea. Isn't it ? 😊
It's a simple one, but building it taught me a lot along the way.
You can check out the repository here: https://github.com/sertacartun/grepstein
I’d really appreciate it if you could take a look at the source code and share your thoughts. I didn’t use AI to write this noscript, so I’m sure there are areas that could be improved or optimized—any constructive feedback is more than welcome.
Here’s a short demonstration:
https://youtu.be/Bd55Hh53Dms
Thanks!
https://redd.it/1qzkv53
@r_bash
GitHub
GitHub - sertacartun/grepstein
Contribute to sertacartun/grepstein development by creating an account on GitHub.
I created a simple tool, looking for feedback
link to flailsafe
I've just published my first repo on GitHub and would like some advice or opinions.
Flailsafe is installed in /opt/flailsafe and needs to be run as sudo: it lets you create a list of files you want to monitor (I made it for my config files), stores a copy of those files and, when the "change" command is given, it looks for any file that's been edited and stores another copy of the new version, logging everything.
That's it, simple as that. No "restore" option has been created, as it must write only inside its root directory
https://redd.it/1qzjvff
@r_bash
link to flailsafe
I've just published my first repo on GitHub and would like some advice or opinions.
Flailsafe is installed in /opt/flailsafe and needs to be run as sudo: it lets you create a list of files you want to monitor (I made it for my config files), stores a copy of those files and, when the "change" command is given, it looks for any file that's been edited and stores another copy of the new version, logging everything.
That's it, simple as that. No "restore" option has been created, as it must write only inside its root directory
https://redd.it/1qzjvff
@r_bash
GitHub
GitHub - BefuddledBug/flailsafe
Contribute to BefuddledBug/flailsafe development by creating an account on GitHub.
How do I copy text with color escape sequences?
This might seem like a simple question, but I genuinely can't find a solution that would work for me.
I have output of a figlet utility written to stdout: a colorful text art that uses escape sequences to render colors. Here's paste of such output without colors for obvious reasons, original colors are different shades of red and blue:
When I copy text to the clipboard, colors are ignored. My terminal supports "copy as HTML" for colors, but I want to later print the text art from a Python noscript, so I need the original escape sequences.
I tried piping to
Here are first 128 bytes of the textart to show what and how escape sequences are used, in case this might be of use.
How can I copy this text with colors for later printing to console?
https://redd.it/1r0ekem
@r_bash
This might seem like a simple question, but I genuinely can't find a solution that would work for me.
I have output of a figlet utility written to stdout: a colorful text art that uses escape sequences to render colors. Here's paste of such output without colors for obvious reasons, original colors are different shades of red and blue:
$ figlet -f phm-beyondneo-red -C utf8 -w 9999 "A"
🬭🬭🬭🬭
▐▄▌▐▄▌
▐▄🬛🬫▄▌
▐▄▌▐▄▌
🬁🬂🬀🬁🬂🬀
When I copy text to the clipboard, colors are ignored. My terminal supports "copy as HTML" for colors, but I want to later print the text art from a Python noscript, so I need the original escape sequences.
I tried piping to
cat -v and cat -A, but they produce output with meaningless M-? sequences that cannot later be used for echoing or printing. Like this:^[[38;5;231m M-pM-^_M-,M--M-pM-^_M-,M--M-pM-^_M-,M--M-pM-^_M-,M-- ^[[mHere are first 128 bytes of the textart to show what and how escape sequences are used, in case this might be of use.
$ figlet -f phm-beyondneo-red -C utf8 -w 9999 "A" | hexdump -C
00000000 1b 5b 33 38 3b 35 3b 32 33 31 6d 20 f0 9f ac ad |.[38;5;231m ....|
00000010 f0 9f ac ad f0 9f ac ad f0 9f ac ad 20 1b 5b 6d |............ .[m|
00000020 0a 1b 5b 33 38 3b 35 3b 31 38 38 6d e2 96 90 1b |..[38;5;188m....|
00000030 5b 33 38 3b 35 3b 31 39 35 3b 34 38 3b 35 3b 38 |[38;5;195;48;5;8|
00000040 37 6d e2 96 84 1b 5b 33 38 3b 35 3b 31 38 38 3b |7m....[38;5;188;|
00000050 34 39 6d e2 96 8c e2 96 90 1b 5b 33 38 3b 35 3b |49m.......[38;5;|
00000060 31 39 35 3b 34 38 3b 35 3b 38 37 6d e2 96 84 1b |195;48;5;87m....|
00000070 5b 33 38 3b 35 3b 31 38 38 3b 34 39 6d e2 96 8c |[38;5;188;49m...|
How can I copy this text with colors for later printing to console?
https://redd.it/1r0ekem
@r_bash
Reddit
From the bash community on Reddit
Explore this post and more from the bash community
The owner of this channel has been inactive for the last 11 months. If they remain inactive for the next 19 days, they may lose their account and admin rights in this channel. The contents of the channel will remain accessible for all users.