groups(1) User Commands groups(1)

ИМЯ

groups - показывает имена групп запустившего программу пользователя

СИНОПСИС

groups [user]

ОПИСАНИЕ

The groups command displays the current group names or ID values. If the value does not have a corresponding entry in /etc/group, the value will be displayed as the numerical group value. The optional user parameter will display the groups for the named user.

ЗАМЕЧАНИЕ

Systems which do not support supplementary groups (see initgroups(3)) will have the information from /etc/group reported. The user must use newgrp or sg to change his current real and effective group ID.

ФАЙЛЫ

/etc/group

содержит информацию о группах

СМОТРИТЕ ТАКЖЕ

newgrp(1), getgid(2), getgroups(2), getuid(2), initgroups(3).

04/01/2024 shadow-utils 4.15.1