GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GROUPS(1) FreeBSD General Commands Manual GROUPS(1)

groupsshow group memberships

groups [user]

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.

The groups utility exits 0 on success, and >0 if an error occurs.

Show groups the root user belongs to:

$ groups root
wheel operator
April 19, 2026 FreeBSD 15.1-RELEASE-p1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.