There are two types of paths:
Absolute path shows the location of a folder or a file from the root directory
/. In other words, it's a complete path from the very beginning of the filesystem to the target. Examples of absolute paths:
Relative path shows the location of a folder or a file from the working (current) directory. For example, if you're in
/Users/john/ right now, then
Documents/report.pdf is a relative path.
This is similar to a complete postal address (3500 Deer Creek Road. Palo Alto, CA 94304, United States of America — absolute path), or a incomplete postal address (5th ave., 12 — relative path, relative to the city you're in).
cdis used to move
The Hexlet support team or other students will answer you.
Programming courses for beginners and experienced developers. Start training for free
Our graduates work in companies:
Sign up or sign in
Ask questions if you want to discuss a theory or an exercise. Hexlet Support Team and experienced community members can help find answers and solve a problem.