Usage: groups [OPTION]... [USERNAME]...
Print group memberships for each USERNAME or, if no USERNAME is specified, for
the current process (which may differ if the groups database has changed).
--help この使い方を表示して終了
--version バージョン情報を表示して終了
Report groups bugs to bug-coreutils@gnu.org
GNU coreutils home page:
Usage: groups [OPTION]... [USERNAME]...
Print group memberships for each USERNAME or, if no USERNAME is specified, for
the current process (which may differ if the groups database has changed).
--help display this help and exit
--version output version information and exit
Report groups bugs to bug-coreutils@gnu.org
GNU coreutils home page:
GROUPS(1) GROUPS(1)
名前
groups - 現在のグループ名の表示
書式
groups [user]
説明
groups は現在のグループの名前または ID 値を表示する。 ID 値に対応する名
前が /etc/group に登録されていなければ、数値のグループ ID で表示され る
。 パラメータとして user を与えると、指定した user が所属するグループ名
を表示する。
注意
同時所属グループ集合 (concurrent group set) をサポートしていないシス テ
ム では、 /etc/group の情報が報告される。ユーザが現在の実グループ ID や
実効グループ ID を変更するには、 newgrp や sg を使用しなければならな い
。
ファイル
/etc/group - グループ情報
関連項目
newgrp(1), getuid(2), getgid(2), getgroups(2)
著者
Julianne Frances Haugh
GROUPS(1) User Commands GROUPS(1)
NAME
groups - print the groups a user is in
SYNOPSIS
groups [OPTION]... [USERNAME]...
DESCRIPTION
Print group memberships for each USERNAME or, if no USERNAME is speci-
fied, for the current process (which may differ if the groups database
has changed).
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by David MacKenzie and James Youngman.
REPORTING BUGS
Report groups bugs to bug-coreutils@gnu.org
GNU coreutils home page:
Copyright(C) linux-cmd.com All Rights Reserved. Author Takayuki Yukawa