Linux Filesystem Quotas

quota — display disk usage and limits

quota displays disk usage and quota limits for users and groups on quota-enabled filesystems.

What quota is good for

Quota system typically involves: quotacheck → quotaon → edquota → quota

10 Practical Examples

1) Show current user's quota

quota

2) Show specific user's quota

sudo quota -u username

3) Show group quota

sudo quota -g groupname

4) Show all quotas

sudo quota -a

5) Human-readable format

quota -s

6) Verbose output

quota -v

7) Show only user quota

quota -u username

8) Check multiple users

sudo quota user1 user2

9) Combine with repquota

sudo repquota /home

10) Script-friendly check

quota -u username | grep -i "blocks"