Opening the terminal for the first time can feel like stepping onto the bridge of a spaceship. A dark screen with a blinking cursor waiting for you! But here is the secret: the terminal is simply a text-based remote control for your computer. It only does what you ask, one friendly command at a time.
How to Open the Terminal
Opening the terminal takes just two seconds:
- On Windows: Press the Windows key on your keyboard, type PowerShell or Terminal, and press Enter.
- On Mac: Press
Command + Spaceto open Spotlight, type Terminal, and press Enter.
Safe, Friendly Commands Every Beginner Should Try
Let us try a few commands that are 100% safe to run. They simply show you information or tidy up your workspace:
# Command 1: Say hello back to yourself!
echo "Hello, world!"
# Command 2: Check the exact time and date on your system
date
# Command 3: Check your computer account name
whoami
# Command 4: Wipe the screen clean and give yourself a fresh blank slate
clear
Helpful Keyboard Tricks
You never have to retype long commands from scratch. Developers use these two shortcuts every single day:
- Up Arrow key: Scrolls through past commands you previously ran, saving tons of typing time.
- Tab key: Automatically finishes file and folder names for you. Type the first two letters, press Tab, and watch the terminal complete the rest!
- Ctrl + C: The universal pause button. If a command runs longer than expected or you change your mind, press
Ctrl + Cto safely stop it.
3 Things to Remember
- The terminal is just a text chat: You give a text command, and the computer replies with text.
- The Tab key is your friend: Always press Tab to let the computer auto-complete names.
clearresets your view: Whenever your screen gets crowded, clear it for a clean start.