← All terms

Building a project

Absolute path

An absolute file path identifies a location from a filesystem root rather than from your current folder. Syntax varies by operating system: macOS and Linux paths start with /; a Windows example is C:\Projects\reading-list\README.md.

You might see: absolute file path, absolute pathname, full path

In a real project

On a Linux computer, /home/sam/reading-list/README.md points to that location whether your shell is currently in the project or its parent folder. It does not guarantee the file exists or that you have permission to read it.

A common mistake

Copying your own computer's absolute path into a shared project and assuming it works everywhere. Other people and deployment environments may have different roots, folder layouts or operating systems.

Put it into practice

These lessons open through your account. Your kit determines which are available.

Go to the source

Sources checked .