Scroll to navigation

ID(1) 用戶命令 ID(1)

名稱

id - 顯示真實和有效用戶 ID 和組 ID

概述

id [選項]... [用戶]...

描述

輸出指定用戶的用戶和用戶組信息,或(當沒有指定用戶信息時)默認使用當前用戶信息。

忽略,僅用於與其它版本兼容
只顯示當前進程的安全上下文
只顯示有效組 ID
顯示所有組 ID
顯示名稱而非編號,與 -ugG 共同使用
顯示真實 ID 而非有效 ID,與 -ugG 共同使用
只顯示有效用戶 ID
使用 NUL 字符分隔不同項,而不用空格;
在默認格式情況下不允許使用
顯示此幫助信息並退出
顯示版本信息並退出

如果沒有指定任何選項,將會顯示一些有用的身份信息。

作者

由 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