Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Absolute path, relative path, working directory » ?

Aussi appelé : absolute path · working directory · relative path

Definition 14.4 High School Computer Science · Chapitre 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.
Lire dans le chapitre →