Linux command
edquota 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
edquota -u $(whoami)
Example
sudo edquota -u [username]
Example
sudo edquota -g [group]
Example
sudo edquota -f [filesystem]
Example
sudo edquota -t
Duplicate
sudo edquota -p [reference_user] [destination_user1] [destination_user2]
说明
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.
参数
- -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
FAQ
What is the edquota command used for?
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.
How do I run a basic edquota example?
Run `edquota -u $(whoami)` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u, --user do in edquota?
Edit user quota (default)