All rights reserved, please indicate the source when citing
quota - Display User or Group Quotas
The quota command is used to display user or group quotas. Its syntax is quota [OPTIONS] [USER|GROUP].
Some commonly used options include::
- -a: List quotas for all users.
- -g: List quotas for a group.
- -u: List quotas for a user.
- -p: List quotas for a file or directory.
- -s: List quota usage for all users.
- -v: Display detailed quota usage.
- -x: List users who are over their quota.
- -h: Display help message.
- -c: Display quota configuration.
Examples:
# quota -g teamp1 ←Display quotas for the group "team1".
# quota -u user1 ←user1 # List quotas for the user "user1" |
For more examples and explanations related to quota, you can refer to the provided link.