Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Absolute path, relative path, working directory?

Dikenal juga sebagai: absolute path · working directory · relative path

Definition 14.4 High School Computer Science · Bab 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.
Baca dalam konteks →