Building an RHCSA Lab Simulator in Bash.

change this.

Introduction

add the first paragraph here>

why is this line here?????>

/\.git/HEAD
/\.git/logs

…and returning 200 OK.

Screenshot of Nginx logs

put other paragraph here>

Then it hit me. I wasn’t hacked. There was no exploit. No unauthorized access. I had been serving my enti>

What Happened

this needs to be changed, nothing happened>

Lesson Learned

In the end, I decided to completely relocate the git repo to another location. This highlights an importa>

Older Posts

Recently ive been building an rhcsa style lab sim using Bash. Sure, I could’ve used something better fit for this project like python, or go. And no, I’m not looking for a fight with the shell, but this was also a learning experience for me. Although im not currently seeking RHCSA certification primarily due to it not being in my budget, I enjoy learning more about linux administration and have an interest in automation. It’s still in its early stages, but so far it’s functional (albeit not stress-tested) and provides score summaries along with some basic output formatting. The project itself is a collection of modular Bash scripts that validate system state after a user performs certain specific admin/troubleshooting tasks. The flow is: the user picks a scenario. They are attached to a split tmux with the scenario instructions in the top pane and a normal shell in the bottom. Whenever they decide to grade their work, tmux exits, runs the check script and verifies the system state, stores that output in a variable, then main formats it and outputs scoring data.