commands.sh

edquota

linux

Edit quotas for a user or group. By default it operates on all filesystems with quotas. Quota information is stored permanently in the `quota.user` and `quota.group` files in the root of the filesystem.

More info →

Options (5)

-u, --userboolean

Edit quota of the current user

Example: edquota {{[-u|--user]}} $(whoami)
-g, --groupboolean

Edit quota for a group

Example: sudo edquota {{[-g|--group]}} {{group}}
-f, --file-systemboolean

Restrict operations to a given filesystem (by default edquota operates on all filesystems with quotas)

Example: sudo edquota {{[-f|--file-system]}} {{filesystem}}
-t, --edit-periodboolean

Edit the default grace period

Example: sudo edquota {{[-t|--edit-period]}}
-p, --prototypeboolean

Duplicate a quota to other users

Example: sudo edquota {{[-p|--prototype]}} {{reference_user}} {{destination_user1 destination_user2 ...}}

Examples (6)

Edit quota of the current user

edquota [-u|--user] $(whoami)

Edit quota of a specific user

sudo edquota [-u|--user] username

Edit quota for a group

sudo edquota [-g|--group] group

Restrict operations to a given filesystem (by default edquota operates on all filesystems with quotas)

sudo edquota [-f|--file-system] filesystem

Edit the default grace period

sudo edquota [-t|--edit-period]

Duplicate a quota to other users

sudo edquota [-p|--prototype] reference_user destination_user1 destination_user2 ...
made by @shridhargupta | data from tldr-pages