Files, folders, and the terminal

Where does the shell look for lessons?

Examples

Worked example

Input
You are in projects and enter cd lessons.
Expected output
Inside projects.

Hints and solution

Hint 1

Write down the starting state and walk through one example by hand.

Reveal worked answer

Without an absolute path, the shell interprets lessons relative to its current folder.

Back to the lesson