Name

quota

Synopsis

                  quota [options] [user|group]

Display disk usage and total space allowed for a designated user or group. With no argument, the quota for the current user is displayed. This command reports quotas for all filesystems listed in /etc/mtab. Most users can display only their own quota information, but the superuser can display information for any user.

Options

-F format

Show quota for the specified format. If not specified, autodetects the format.

-g

Given with a user argument, display the quotas for the groups of which the user is a member instead of the user’s quotas. With no argument, shows group quotas for the current user.

-q

Display information only for filesystems in which the user is over quota.

-s

Try to choose units for displaying limits, space used, and inodes used.

-u

The default behavior. When used with -g, display both user and group quota information.

-v

Display quotas for filesystems even if no storage is currently allocated.

Formats

rpc

Quota over NFS.

vfsold

Version 1 quota.

vfsv0

Version 2 quota.

xfs

Quota on XFS filesystem.

Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.