V2EX  ›  英汉词典
Enqueued related words: Umask

Chmod

释义 Definition

chmod 是 Unix/Linux 系统中的命令,用于修改文件或目录的权限(mode),例如读/写/执行权限(如 chmod 644 filechmod u+x script.sh)。在更广义上,它也可指“更改权限”这一操作本身。

发音 Pronunciation (IPA)

/tʃiː mɒd/;/tʃiː mɑːd/

例句 Examples

Run chmod +x on the script so you can execute it.
对这个脚本运行 chmod +x,这样你就可以执行它了。

For security, the admin used chmod 600 to ensure only the owner could read the private key file.
为安全起见,管理员使用 chmod 600,确保只有文件所有者能读取私钥文件。

词源 Etymology

chmod 来自命令名的缩写:ch(change,改变)+ mod(mode,模式/权限位)。在 Unix 传统中,“mode”常专指文件权限与相关标志位,因此 chmod 就是“改变权限模式”的意思。

相关词 Related Words

文学/著作中的用例 Notable Works

  • The UNIX Programming Environment — Brian W. Kernighan & Rob Pike(1984)
  • UNIX Power Tools — Jerry Peek, Tim O’Reilly 等(多版)
  • How Linux Works — Brian Ward(多版)
  • The Linux Command Line — William E. Shotts Jr.(多版)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   676 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 20:33 · PVG 04:33 · LAX 12:33 · JFK 15:33
♥ Do have faith in what you're doing.