other languages
ID(1) | 用戶命令 | ID(1) |
名稱¶
id - 顯示真實和有效用戶 ID 和組 ID概述¶
id [選項]... [用戶]...描述¶
輸出指定用戶的用戶和用戶組信息,或(當沒有指定用戶信息時)默認使用當前用戶信息。- -a
- 忽略,僅用於與其它版本兼容
- -Z, --context
- 只顯示當前進程的安全上下文
- -g, --group
- 只顯示有效組 ID
- -G, --groups
- 顯示所有組 ID
- -n, --name
- 顯示名稱而非編號,與 -ugG 共同使用
- -r, --real
- 顯示真實 ID 而非有效 ID,與 -ugG 共同使用
- -u, --user
- 只顯示有效用戶 ID
- -z, --zero
- 使用 NUL 字符分隔不同項,而不用空格;
- 在默認格式情況下不允許使用
- --help
- 顯示此幫助信息並退出
- --version
- 顯示版本信息並退出
如果沒有指定任何選項,將會顯示一些有用的身份信息。
作者¶
由 Arnold Robbins 和 David MacKenzie 編寫。報告錯誤¶
GNU coreutils 的在線幫助: <https://www.gnu.org/software/coreutils/>GNU coreutils 的在線幫助: <https://www.gnu.org/software/coreutils/>
版權¶
請向 <https://translationproject.org/team/zh_CN.html> 報告翻譯錯誤。This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
參見¶
完整文檔請見: <https://www.gnu.org/software/coreutils/id>或者在本地使用: info '(coreutils) id invocation'
跋¶
本頁面中文版由中文 man 手冊頁計劃提供。中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh
2020年三月 | GNU coreutils 8.32 |