Use the terminal to do real work, not just watch it happen.
The terminal is where you learn to control files, run tools, inspect your environment, and start coding with confidence. This page is designed so you can copy commands, run them, and see visible results on Windows first, then Linux, macOS, and Android with Termux.
What the terminal actually is
A terminal is a text-based interface for talking to your operating system. It lets you move through folders, create files, run programs, install tools, and automate repeated work. You are not “using hacker magic”. You are giving precise instructions to the computer.
Windows
Use PowerShell first. It is the cleanest modern shell on Windows for learning and scripting.
Linux / macOS
Use bash or zsh. Most beginner terminal tutorials on the internet assume this shell style.
Activity 1: Make your first working folder
Choose the block that matches your device and run it exactly.
Windows PowerShell
mkdir intro-lab cd intro-lab "hello from powershell" | Set-Content hello.txt Get-ChildItem Get-Content hello.txt
Linux / macOS / Termux
mkdir intro-lab cd intro-lab echo "hello from shell" > hello.txt ls cat hello.txt
hello.txt, and its contents printed back to you.
Windows vs Linux/macOS command map
List files
PowerShell: Get-ChildItem bash/zsh: ls
Show current folder
PowerShell: Get-Location bash/zsh: pwd
Read a file
PowerShell: Get-Content file.txt bash/zsh: cat file.txt
Activity 2: Create a tiny project folder for code
mkdir my-first-code cd my-first-code mkdir notes src echo "# My First Code Folder" > README.md
On Windows PowerShell, the last line can also be:
"# My First Code Folder" | Set-Content README.md
Now open that folder in your editor. This is how terminal + file system + editor start working together.