Run echo token=redacted > lab-redaction.txt.
echo token=redacted > lab-redaction.txt
Write a safe note that marks sensitive data as redacted.
Text and logsechogrepcat
Click any instruction for the command details, the why, and the common mistake to avoid.
Run echo token=redacted > lab-redaction.txt.
echo token=redacted > lab-redaction.txt
Run grep redacted lab-redaction.txt.
grep redacted lab-redaction.txt
Run cat lab-redaction.txt.
cat lab-redaction.txt
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Practice writing notes with redacted values.
Write token=redacted, then search it.
Good notes preserve facts without spreading secrets.
echo <text>
Print text or write lab notes with >.
cat <file>
Print text file contents.
grep [-i] <text> <file>
Find literal text inside a file.