Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Absolute path, relative path, working directory?

Também chamado de: absolute path · working directory · relative path

Definition 14.4 High School Computer Science · Capítulo 14 — Operating Systems and the Command Line

An absolute path names a file from the root, starting with /, such as /home/ada/library/books/books.csv. Each running program has a working directory, and a relative path, which does not start with /, names a file from there. In a path, . is the directory itself and .. its parent.

The session’s tree. From the working directory members, the relative path ../books/books.csv takes three steps: up to library, down into books, then to the file.
The session’s tree. From the working directory members, the relative path ../books/books.csv takes three steps: up to library, down into books, then to the file.
Ler no capítulo →