Meet the Linux terminal

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.

Show the current folder

Prints the full path of the directory you are in right now.

pwd

Static example · not executed

List files and folders

Shows the names of files and directories in the current folder.

ls

Static example · not executed

Move into the projects folder

Changes your current directory to `projects` (if it exists).

cd projects

Static example · not executed

Sample output
student@campus:~$ pwd
/home/student
student@campus:~$ ls
projects  notes  README.md

Labeled sample only — nothing was run on this page.

    Meet the Linux terminal · Linux & Terminal Basics | Nestify Campus