V2EX  ›  英汉词典

Current Directory

释义 Definition

current directory:当前目录;指操作系统或命令行环境中“此刻所处的文件夹”,很多命令在未写明路径时会默认以它为起点进行查找、读写或创建文件。(也常称 working directory

发音 Pronunciation (IPA)

/ˈkʌrənt dɪˈrɛktəri/

例句 Examples

I saved the file in the current directory.
我把文件保存在当前目录里。

If the program can’t find the config file, check whether your current directory is correct before changing the path.
如果程序找不到配置文件,先检查当前目录是否正确,再考虑修改路径。

词源 Etymology

current 来自拉丁语 currere(“奔跑、进行”),引申为“当前正在发生的”;directory 源于拉丁语 dirigere(“引导、指向”),在计算机语境中指“用于指引/组织文件的目录”。合起来就是“当前所指向的那个目录”,在 Unix、Linux、Windows 等系统的命令行里都是核心概念。

相关词 Related Words

文学与经典作品 Literary / Notable Works

  • The UNIX Programming Environment(Kernighan & Pike)——讲解 Unix 工具链与“当前目录/工作目录”如何影响命令行为
  • Advanced Programming in the UNIX Environment(W. Richard Stevens)——在进程与文件系统章节中涉及工作目录与路径解析
  • The Linux Command Line(William Shotts)——以命令行学习为主线,多处使用并解释当前目录的概念
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   668 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 21:04 · PVG 05:04 · LAX 13:04 · JFK 16:04
♥ Do have faith in what you're doing.