Purpose
Lists all the user groups to which the specified user belongs.
Syntax and Description
groups diskgroup user
Table 10-71 lists the syntax options for the groups command.
Table 10-71 Options for the groups command
| Option | Description |
|---|---|
|
|
Name of the disk group to which the user belongs. |
|
|
Name of the user. |
Examples
The following is an example of the groups command that displays the user groups of the data disk group to which the oracle1 user belongs.