tldr/pages/common/quota.md

24 lines
487 B
Markdown
Raw Normal View History

2016-06-25 01:17:37 +01:00
# quota
> Display users' disk space usage and allocated limits.
- Show disk quotas for the current user:
2016-06-25 09:42:42 +01:00
2016-06-25 01:17:37 +01:00
`quota`
2016-06-25 09:44:23 +01:00
- Verbose output (also display quotas on filesystems where no storage is allocated):
2016-06-25 09:42:42 +01:00
2016-06-25 01:17:37 +01:00
`quota -v`
2016-06-25 09:44:23 +01:00
- Quiet output (only display quotas on filesystems where usage is over quota):
2016-06-25 09:42:42 +01:00
2016-06-25 01:17:37 +01:00
`quota -q`
- Print quotas for the groups of which the current user is a member:
2016-06-25 09:42:42 +01:00
2016-06-25 01:17:37 +01:00
`quota -g`
- Show disk quotas for another user (must be superuser to do this):
2016-06-25 09:42:42 +01:00
2016-06-25 01:17:37 +01:00
`sudo quota -u {{username}}`