AI engineering glossary · Command line Git

What is relative path?

Relative path: A file location described starting from the current folder instead of the top of the filesystem. The name .. means the parent folder and . means the current one. Relative paths keep projects portable but break if you run a script from an unexpected folder.

Level: beginnerTopic: Command line Git

Relative path: an example

From /home/asha/project, ../notes.txt refers to /home/asha/notes.txt.

Related terms

More Command line Git terms

Where you learn it

Relative path is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.