Skip to content

Instantly share code, notes, and snippets.

View apettenati's full-sized avatar

Amanda apettenati

View GitHub Profile
@apettenati
apettenati / clmystery.sh
Last active February 18, 2021 21:47
Command Line Mystery
# Note: I use ripgrep (rg) to search which searches recursively and supports regex -A and -B return rows after/before search results
git clone https://github.com/veltman/clmystery
cd clmystery
cat instructions
cd mystery
# Search for clues and save to file
cat crimescene | rg CLUE > clues.txt
# Search for Annabel in people
rg Annabel people