MANUAL
The terminal and PowerShell
01 / OPENING THE TERMINAL
Typing instead of clicking.
In the terminal, you give commands to your computer by typing them. Your AI assistant does this all day long. If you can open the terminal yourself and know a few commands, you’ll see what’s going on.
01 / Windows
- Click Start and type PowerShell.
- Click on Windows PowerShell or Terminal.
Do you have Windows 11? If so, Terminal opens by default with PowerShell. It’s the same thing.
02 / Linux
Press Ctrl + Alt + T, or look for Terminal in the menu.
03 / Executing a command
Type the command and press Enter. Capital letters and spaces are significant. It is better to copy commands from this manual rather than retype them.
02 / NAVIGATE
Find folders.
The terminal is always in one folder at a time. Commands operate within that folder.
04 / Where am I?
pwd
05 / What does this say?
ls
This works in PowerShell and in Linux.
06 / Go to a different folder
cd Documenten
cd ..
cd .. moves up one folder. If there are spaces in a folder’s name, enclose the name in quotation marks:
cd "Mijn projecten"
07 / Creating a new folder
mkdir mijn-app
08 / Opening the terminal in a project folder
Windows: Open the folder in File Explorer, right-click on an empty area and select Open in Terminal. Linux: In most file managers, right-click and select Open in terminal.
03 / HANDY KEYS
Work faster.
09 / Keys you use frequently
- Up arrow: undo the previous command.
- Tab: to autocomplete the name of a folder or file.
- Ctrl + C: to stop a command that is still running.
- cls (Windows) or clear (Linux): clears the screen.
10 / Copy and paste
Windows Terminal: Ctrl + C and Ctrl + V work. If text is selected, Ctrl + C copies it; otherwise, it stops a command. Linux: use Ctrl + Shift + C and
04 / WORKING SAFELY
What you should and shouldn’t do.
11 / Enabling scripts in PowerShell
Are you seeing a message saying that script execution is disabled? If so, enable scripts for your own account:
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
Please confirm with J or Y.
12 / Sudo on Linux
sudo allows you to run a command as an administrator. Linux will then ask for your password. You won’t see any characters as you type. That’s normal.
13 / Ask your AI assistant for an explanation
"Explain in plain language what this command does before you run it, and ask me for permission."
Good to know
Do not execute any commands that you have copied from an unknown website or from an email. Take particular care with commands that contain rm, del, format or sudo.