全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Absolute path, relative path, working directory?

又称: absolute path · working directory · relative path

Definition 14.4 High School Computer Science · 第 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.
在原文中阅读 →