LinuxCommandLibrary

edquota

TLDR

Edit quota of current user

$ edquota -u $(whoami)
copy
Edit quota of specific user
$ sudo edquota -u [username]
copy
Edit quota for group
$ sudo edquota -g [group]
copy
Restrict to specific filesystem
$ sudo edquota -f [filesystem]
copy
Edit default grace period
$ sudo edquota -t
copy
Duplicate quota to other users
$ sudo edquota -p [reference_user] [destination_user1] [destination_user2]
copy

SYNOPSIS

edquota [options] name...

DESCRIPTION

edquota edits disk quotas for users or groups. It opens an editor showing current limits and usage, allowing modification of soft and hard limits.
Quota information is stored in quota.user and quota.group files at the filesystem root.

PARAMETERS

-u, --user

Edit user quota (default)
-g, --group
Edit group quota
-f, --file-system fs
Restrict to specific filesystem
-t, --edit-period
Edit grace period
-p, --prototype user
Copy quota from prototype user

CAVEATS

Requires quota system enabled on filesystem. Root privileges needed to edit others' quotas. Uses $EDITOR or $VISUAL for editing.

SEE ALSO

quota(1), repquota(8), quotaon(8)

Copied to clipboard