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 的在線幫助: <../../software/coreutils/>請向 <../../team/zh_CN.html> 報告 id 的翻譯錯誤。
版權¶
Copyright © 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <../../licenses/gpl.html>.This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
參見¶
完整文檔請見: <../../software/coreutils/id>或者在本地使用: info '(coreutils) id invocation'
跋¶
本頁面中文版由中文 man 手冊頁計劃提供。中文 man 手冊頁計劃:../../man-pages-zh/manpages-zh
2017年10月 | GNU coreutils 8.28 |