Windows PowerShell (practice mode: nothing here touches your real computer)
Lesson 21: Stop signs
Level 3, Terminal Power and Safety. Spot the commands that need a grown-up before you press Enter. The new word: Administrator. It follows lesson 20, Red text is a clue. Next comes lesson 22, Running programs.
What the lesson explains
Stop signs. Some commands need a grown-up first.
Three steps to safety. Administrator means allowed to change anything. Asking for it is a stop sign. Stop: big deletes, Administrator; Think: know every part?; Ask: a grown-up first.
What you do first
Would you press Enter?. dir, in a folder you made The answer: "Safe".
The files on the practice computer
This lesson works in one folder. At the start, Documents holds diary\, music\, my-project\, stories\, vault\.
You change nothing here, so lesson 22 finds the same files.
What you practise
Safe or stop?, "Would you press Enter?": dir, in a folder you made The answer: "Safe". Then: A website says: paste this into PowerShell to get free game coins The answer: "Stop". Then: A box asks: Do you want to allow this app to make changes to your device? The answer: "Stop". Then: echo "hi" > note.txt, in your own practice folder The answer: "Safe". Then: A friend sends a long command and says: trust me, run it The answer: "Stop". Then: rm -Recurse on a folder somebody else made The answer: "Stop".
Changed your mind?, "Cancel before Enter": Type anything, then press Ctrl and C together: the line is cancelled.
What PlayBuddy and PlayType say
PlayType: "Some commands are like stop signs. Stop, think, and ask a grown-up."
PlayBuddy: "Never paste a command you do not understand. Not even from a friend."
Help in every lesson
Everything happens on a pretend computer in your browser, so nothing touches your real files. PlayBuddy and PlayType stand beside the board, cheer you on and say when it is your turn.
A green ring shows where to click the first time. After that you do it on your own, and if you slip twice the ring comes back.
Stars
The lesson has 7 things to do. Up to one slip in ten gives three stars, up to one in four gives two, and finishing always gives at least one. Stars and progress are saved in this browser only; there is no account.
About DayOneCode
DayOneCode is an independent learning site, not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.