QUOTA(1)
๐ QUOTA(1) โ the quota glow-up ๐
okay bestie, sit DOWN, because quota is about to become your new favorite command. this is the quota page from the General Commands Manual, and it's literally just: how much disk are you using, and what are your limits. that's it. that's the vibe. ๐
โจ NAME โจ
quota โ display disk usage and limits ๐ฆ
๐ธ SYNOPSIS ๐ธ
quota [ -F format-name ] [ -guqvswi ] [ -l | [ -QAm ]]
quota [ -F format-name ] [ -qvswi ] [ -l | [ -QAm ]] -u user...
quota [ -F format-name ] [ -qvswi ] [ -l | [ -QAm ]] -g group...
quota [ -F format-name ] [ -qvswi ] [ -l | [ -QAm ]] -P project...
quota [ -F format-name ] [ -qvswugQm ] -f filesystem...
five whole flavors, pick your fighter ๐
๐ซถ DESCRIPTION ๐ซถ
so quota displays users' disk usage and limits. by default only the user quotas are printed โ like, it assumes you're asking about you, which, fair.
also by default, space usage and limits are shown in kbytes (and yes they're named blocks for historical reasons, don't @ me, it's giving ancient lore ๐).
quota reports the quotas of all the filesystems listed in /etc/mtab. and if a filesystem is NFS-mounted? it makes a call to the rpc.rquotad on the server machine to go get that info. networking, but make it quota. ๐
๐ OPTIONS ๐
okay here's the whole menu, no skips, no skimming, we're eating every single one ๐ฅ
-F,--format=format-nameโ show quota for a specified format (aka don't do the format autodetection thing, just tell it). the possible format names are:vfsold(Original quota format with 16-bit UIDs / GIDs),vfsv0(Quota format with 32-bit UIDs / GIDs, 64-bit space usage, 32-bit inode usage and limits),vfsv1(Quota format with 64-bit quota limits and usage),rpc(quota over NFS),xfs(quota on XFS filesystem).-g,--groupโ print group quotas for the group of which the user is a member. the optional group argument(s) narrows the display down to just the specified group(s).-u,--userโ this flag is equivalent to the default. it's giving "I said what I said, but louder." ๐-P,--projectโ print project quotas for the specified project.-v,--verboseโ will display quotas on filesystems where no storage is allocated. like, even the empty ones get a moment on stage. โญ-s,--human-readable[=units]โ makesquota(1)try to choose units for showing limits, used space and used inodes. units can also be specified explicitly by an optional argument in format[ kgt ],[ kgt ]where the first character specifies space units and the second character specifies inode units.--always-resolveโ always try to translate user / group name to uid / gid even if the name is composed of digits only. ๐ข-p,--raw-graceโ when a user is in grace period, report time in seconds since epoch for when their grace time runs out (or already has run out). the field is'0'when no grace time is in effect. this one is especially useful when parsing output by a script. ๐ค-i,--no-autofsโ ignore mountpoints mounted by automounter. not today, autofs. ๐-l,--local-onlyโ report quotas only on local filesystems (aka ignore NFS mounted filesystems).-A,--all-nfsโ report quotas for all NFS filesystems even if they report to be on the same device.-f,--filesystem-listโ report quotas only for filesystems specified on the command line.--filesystem=pathโ report quotas only for filesystem path. this option can be specified multiple types and quota will be reported for each specified filesystem. unlike the command line option-f, the remaining command line arguments are still treated as user / group / project names to report. ๐-m,--no-mixed-pathnamesโ so rn, pathnames of NFSv4 mountpoints are sent without a leading slash in the path.rpc.rquotaduses this to recognize NFSv4 mounts and properly prepend pseudoroot of NFS filesystem to the path. if you specify this option,quotawill always send paths with a leading slash. this can be useful for legacy reasons but be aware that quota over RPC will stop working if you are using newrpc.rquotad. โ ๏ธ-q,--quietโ print a more terse message, containing only information on filesystems where usage is over quota. minimalism, but make it threatening. ๐ญ-Q,--quiet-refuseโ do not print an error message if connection torpc.rquotadis refused (usually this happens whenrpc.rquotadis not running on the server). we're pretending we didn't see it. ๐-w,--no-wrapโ do not wrap the line if the device name is too long. this can be useful when parsing the output ofquota(1)by a script. ๐--show-mntpointโ show also mount point as a filesystem identification.--hide-deviceโ do not show device name in a filesystem identification.
specifying both -g and -u displays both the user quotas and the group quotas (for the user). slay, both at once. ๐
only the super-user may use the-uflag and the optional user argument to view the limits of other users. also viewing of project quota usage and limits is limited to super-user only. non-super-users can use the-gflag and optional group argument to view only the limits of groups of which they are members. sorry bestie, permissions are permissions. ๐
and one more thing: the -q flag takes precedence over the -v flag. periodt. ๐
๐ฉบ DIAGNOSTICS ๐ฉบ
if quota exits with a non-zero status, one or more filesystems are over quota. that's the whole tell. ๐จ
๐ FILES ๐
aquota.useroraquota.groupโ quota file at the filesystem root (version 2 quota, non-XFS filesystems)quota.userorquota.groupโ quota file at the filesystem root (version 1 quota, non-XFS filesystems)/etc/mtabโ default filesystems
๐ SEE ALSO ๐
go read these next, bestie, they're all in the family:
quotactl(2), fstab(5), edquota(8), quotacheck(8), quotaon(8), quota_nld(8), repquota(8), warnquota(8), setquota(8)
that's the whole page, no cap. this was the quota(1) page from the General Commands Manual โ QUOTA(1), section 1, and that's the footer talking, not me. go check your limits, main character. ๐ฆ๐โจ
๐ฆ where this page comes from
- alpine 3.24: quota-tools-doc 4.11-r0 ยท GPL-2.0-or-later
- centos-stream 10: quota 1:4.09-10.el10 ยท GPL-2.0-only AND GPL-2.0-or-later
- centos-stream 9: quota 1:4.09-4.el9 ยท GPLv2 and GPLv2+
- debian bookworm: quota 4.06-1+b2
- debian trixie: quota 4.09-1+b1
- fedora 43: quota 1:4.10-2.fc43 ยท GPL-2.0-only AND GPL-2.0-or-later
- fedora 44: quota 1:4.11-2.fc44 ยท GPL-2.0-only AND GPL-2.0-or-later
- nixpkgs unstable: quota 4.11
- opensuse-leap 16.0: quota 4.09-160000.3.1 ยท GPL-2.0-only
- opensuse-leap 16.0: quota 4.09-160000.3.1 ยท GPL-2.0-only
- opensuse-leap 16.0: quota 4.09-160000.3.1 ยท GPL-2.0-only
- opensuse-leap 16.0: quota 4.09-160000.3.1 ยท GPL-2.0-only
- ubuntu jammy: quota 4.06-1build2
- ubuntu noble: quota 4.06-1build6
- ubuntu questing: quota 4.09-1
- ubuntu resolute: quota 4.09-1build1
- ubuntu stonking: quota 4.11-1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms