Show the current folder
Prints the full path of the directory you are in right now.
pwdStatic example · not executed
The terminal is a text interface for talking to your computer. Instead of clicking folders, you type short commands.
You will use the terminal constantly as a developer: to navigate projects, run tools, and inspect files. This lesson introduces three commands you will use every day.
Prints the full path of the directory you are in right now.
pwdStatic example · not executed
Shows the names of files and directories in the current folder.
lsStatic example · not executed
Changes your current directory to `projects` (if it exists).
cd projectsStatic example · not executed
student@campus:~$ pwd
/home/student
student@campus:~$ ls
projects notes README.mdLabeled sample only — nothing was run on this page.