![Forrest logo](/images/logo.png)
quota:tldr:34a95
quota: Quiet output (only display quotas on filesystems where usage is over quota).
$ quota -q
try on your machine
The command "quota -q" is used to query and display the quota limits and usage for a given user or users on a Linux or Unix system.
Here is how the command works:
- "quota": This is the command itself, used for managing and displaying disk quotas.
- "-q": This option is used to display quota information in a brief, summarized format. It provides a concise output that includes the username, filesystem, and quota limits and usage.
When you run the "quota -q" command, it gathers and presents the quota information for the current user (if no username is specified) or for the specified user(s).
The output typically consists of several columns containing information such as:
- Username: The name of the user for whom the quota information is displayed.
- Filesystem: The name of the filesystem or disk partition on which the quota is applied.
- Blocks: The amount of disk space (in kilobytes or blocks) allocated to the user.
- Used: The amount of disk space (in kilobytes or blocks) currently used by the user.
- Softlimit: The soft quota limit, which is a warning threshold for the user to restrict usage.
- Hardlimit: The hard quota limit, which is a strict limit for the user to prevent further usage beyond a certain point.
With the summarized output provided by "quota -q", system administrators can quickly view and monitor the quota status of users to ensure they do not exceed the allocated limits and take appropriate actions if needed.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.