groups Linux Commands
What is Linux groups Command?
Explanation
groups COMMAND:groups command is used to print the groups a user is in.
SYNTAX :
groups
OPTIONS:
--help |
Print help message and exit |
--version |
Print version and exit |
EXAMPLE:
- Prints the groups of user.
$ groups
Output:
hiox apache
- Prints the groups of super user.
# groups
Output:
root bin daemon sys adm disk wheel.