WeCodeAcademy

Welcome to the Terminal

The terminal lets you control your computer with text commands. The program that reads them is called a shell, and the most common one is Bash.

Below is a practice terminal. Type a command and press Enter, or press Run on a ready-made one.

Examplebash
Open in editor »
/ $

pwd means print working directory: it shows where you are.

Examplebash
Open in editor »
/ $

ls lists what is in the current folder.

Quick check

Which command shows your current folder?

Your turn: write the code

Print the current folder with a single command.

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.