V2EX  ›  英汉词典

PWD

Definition / 释义

PWD 常见有两种用法:

  1. (计算机)Unix/Linux 命令pwd = print working directory,用于显示当前所在的目录路径。
  2. (网络用语/表单缩写)密码pwd 常被用作 password 的缩写(尤其在表单字段名、代码、聊天中)。

Pronunciation / 发音

/ˌpiː ˌdʌbəl.juː ˈdiː/

Examples / 例句

Type pwd to see your current directory.
输入 pwd 来查看你当前所在的目录。

After logging into the server, I ran pwd to confirm I was in the correct folder before running the script.
登录服务器后,我先运行 pwd 确认自己在正确的文件夹里,再执行脚本。

Etymology / 词源

PWD 是一个首字母缩略语。在命令行语境中来自英文短语 print working directory(打印/显示当前工作目录)。在密码语境中则是 password 的简写写法,常见于程序变量名、表单字段或技术交流中。

Related Words / 相关词

Literary Works / 文学作品

  • The Linux Command Line(William E. Shotts, Jr.)
  • UNIX for the Impatient(Paul W. Abrahams, Bruce R. Larson)
  • The UNIX Programming Environment(Brian W. Kernighan, Rob Pike)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   733 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 19:14 · PVG 03:14 · LAX 11:14 · JFK 14:14
♥ Do have faith in what you're doing.