Repository navigation
Add intermediate grep lab with a Podman environment - #68
Merged
ValentinTorassa merged 1 commit intoOct 23, 2026
Merged
Conversation
New lab linux-real/grep-a-fondo: a toy service failed overnight and the logs are mostly noise. Covers -v, -c and -l, -w, context with -B/-A/-C, -E with ^ and $, -o piped into sort and uniq -c, and -r with --include, on toy logs in ~/lab-grep. - Every output in the lab comes from running it with GNU grep 3.11. - The quiz has 10 questions and uses the step mode. - Uses order 13, the first free one in Linux Real. find-a-fondo now links to it, and it links to systemd-y-journalctl and secret-scanning-token-al-repo. Environment in entornos/linux-real/grep-a-fondo: - The image builds the same logs as the lab with armar-logs.sh, so the outputs on the page match the container. - lab-check looks for a grep -c, a context grep and a grep -o in ~/evidencia/evidencia-grep.txt, and checks the challenge by its output. - The smoke test passes with Docker: lab-check fails on a fresh container and passes with solucion.sh.
|
@knighthw is attempting to deploy a commit to the VT's projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
Gracias, muy buen lab. Corrí los 14 comandos de la página contra GNU grep 3.11 y todas las salidas coinciden. Los logs de la página son los mismos que arma el entorno, y |
This was referenced Oct 23, 2026
5 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué hace este PR
Suma
linux-real/grep-a-fondo, el intermedio de grep que sigue aencontrar-archivos-y-textoy acompaña afind-a-fondo, con su entorno enentornos/linux-real/grep-a-fondo.Un servicio de juguete falló anoche y el log está lleno de ruido. El lab recorre
-v,-cy-l,-w, contexto con-B/-A/-C,-Econ^y$,-oconsort | uniq -cy-r --include, sobre logs sintéticos en~/lab-grep.mode="step".order: 13, el primero libre en Linux Real. Si preferís ubicarlo justo después defind-a-fondo, movelo cuando quieras.find-a-fondolo enlaza en susnextLabs, y este apunta asystemd-y-journalctly asecret-scanning-token-al-repo.Entorno:
armar-logs.sh, así que las salidas de la página coinciden con las del contenedor.lab-checkrevisa que~/evidencia/evidencia-grep.txttenga ungrep -c, un grep con contexto y ungrep -o, y el reto por su salida.npm run lab:env -- smoke linux-real/grep-a-fondopasa con Docker:lab-checkfalla recién creado y pasa consolucion.sh. No lo probé con Podman.Tipo de cambio
Checklist
npm run lab:checkpasa (si es un lab:orderlibre en su ruta y enlazado desde losnextLabsde otro)npm run lintpasa (prettier + astro check)npm run buildpasa/contribuir)