Run printf "release candidate" | tee lab/release-label.txt.
printf "release candidate" | tee lab/release-label.txt
Preserve a multi-word value while capturing predictable output.
Shell scriptingprintfteecat
Click any instruction for the command details, the why, and the common mistake to avoid.
Run printf "release candidate" | tee lab/release-label.txt.
printf "release candidate" | tee lab/release-label.txt
Run cat lab/release-label.txt.
cat lab/release-label.txt
Run wc -l lab/release-label.txt.
wc -l lab/release-label.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.
Build repeatable confidence with keeping one logical value inside one quoted argument.
Start with printf "release candidate" | tee lab/release-label.txt, inspect the result, then continue in order.
Keeping one logical value inside one quoted argument helps operators explain what they know before they change anything.
printf <text>
Print formatted training text.
cat <file>
Print text file contents.
tee <file>
Write piped text to a lab file and keep it on screen.