본문 바로가기
Linux/Shell

group 명령어

by Sondho 2020. 11. 19.
이름 groups -- 그룹 구성원 표시
개요 group [user]
설명  그룹 유틸리티는 id(1) 유틸리티에 의해 폐기되었으며, "id -Gn [user]"에 해당한다.  정상적인 대화형 사용을 위해 "id -p"라는 명령을 제안한다.
그룹 유틸리티는 사용자(또는 선택적으로 지정된 사용자)가 속한 그룹을 표시한다.
종료 상태 그룹 유틸리티는 성공 시 0을 종료하고 오류가 발생하면 0을 종료한다.
참고 항목 id(1)

NAME groups -- show group memberships
SYNOPSIS group [user]
DESCRIPTION The groups utility has been obsoleted by the id(1) utility, and is equivalent to ``id -Gn [user]''.  The command ``id -p'' is suggested for normal interactive use.

The groups utility displays the groups to which you (or the optionally specified user) belong.
EXIT STATUS The groups utility exits 0 on success, and >0 if an error occurs.
SEE ALSO id(1)

 

'Linux > Shell' 카테고리의 다른 글

cut 명령어 옵션  (0) 2020.11.20
tr 명령어 옵션  (0) 2020.11.20
id 명령어 옵션  (0) 2020.11.19
find 명령어 옵션  (0) 2020.11.19
ls 명령어 옵션  (0) 2020.11.19

댓글