id - 現在のユーザID名とグループID名を表示する

SYNOPSIS

      id [OPTION]... [USER]...

DESCRIPTION

指定された各 USER、または(USER を省略した場合)現在のユーザーに対するユーザーおよびグループ情報を表示する。

-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
バージョン情報を出力して終了

OPTIONを指定しない場合、有用な識別情報を表示する。

AUTHOR

Written by Arnold Robbins and David MacKenzie.

REPORTING BUGS

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
Report any translation bugs to <https://translationproject.org/team/>

COPYRIGHT

Copyright © 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/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.

SEE ALSO

Full documentation <https://www.gnu.org/software/coreutils/id> or available locally via: info '(coreutils) id invocation'

External link