mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-28 11:35:27 +02:00

* batch1 * batch2 * batch3 * batch4 * Update matchpathcon.md * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> * Update pages/linux/arecord.md Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> --------- Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
29 lines
860 B
Markdown
29 lines
860 B
Markdown
# edquota
|
|
|
|
> 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 information: <https://manned.org/edquota>.
|
|
|
|
- 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}}`
|