Movatterモバイル変換


[0]ホーム

URL:


man7.org > Linux >man-pages

Linux/UNIX system programming training


Go to the version of this page provided by thecoreutils project


groups(1) — Linux manual page

NAME |SYNOPSIS |DESCRIPTION |NOTE |FILES |SEE ALSO |COLOPHON

GROUPS(1)                     User CommandsGROUPS(1)

NAME        top

       groups - display current group names

SYNOPSIS        top

groups[user]

DESCRIPTION        top

       Thegroupscommand 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       optionaluser parameter will display the groups for the named       user.

NOTE        top

       Systems which do not support supplementary groups (seeinitgroups(3)) will have the information from /etc/group reported.       The user must usenewgrporsgto change his current real and       effective group ID.

FILES        top

       /etc/group           Group account information.

SEE ALSO        top

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

COLOPHON        top

       This page is part of theshadow-utils (utilities for managing       accounts and shadow password files) project.  Information about       the project can be found at        ⟨https://github.com/shadow-maint/shadow⟩.  If you have a bug report       for this manual page, send it to       pkg-shadow-devel@alioth-lists.debian.net.  This page was obtained       from the project's upstream Git repository       ⟨https://github.com/shadow-maint/shadow⟩ on 2025-08-11.  (At that       time, the date of the most recent commit that was found in the       repository was 2025-08-10.)  If you discover any rendering       problems in this HTML version of the page, or you believe there is       a better or more up-to-date source for the page, or you have       corrections or improvements to the information in this COLOPHON       (which isnot part of the original manual page), send a mail to       man-pages@man7.orgshadow-utils 4.14.0             06/15/2024GROUPS(1)


HTML rendering created 2025-09-06 byMichael Kerrisk, author ofThe Linux Programming Interface.

For details of in-depthLinux/UNIX system programming training courses that I teach, lookhere.

Hosting byjambit GmbH.

Cover of TLPI


[8]ページ先頭

©2009-2025 Movatter.jp