The edquota command in Linux is used to edit user disk quotas. Disk quotas allow administrators to limit the amount of disk space a user or a group of users can consume on a filesystem. The edquota command provides a text-based interface to modify the disk quota settings for individual users or groups.
The basic syntax of the edquota command is: edquota [OPTIONS] USERNAME .
Here, "OPTIONS" are optional flags that modify the behavior of the edquota command, and "USERNAME" is the name of the user for whom you want to edit disk quotas.
Commonly used options for the edquota command include:
Once you run the edquota command, a text editor will open, displaying the current quota settings for the specified user or group. You can modify these settings within the editor. The edquota command allows you to set soft and hard limits for disk usage, as well as grace periods and block limits.
After saving your changes and exiting the text editor, the modified quota settings will be applied to the user or group.
Here's an example of using the edquota command:# quotacheck -u ken |
In this example, the edquota command is used to edit disk quota settings for the user "ken".
edquota is a useful tool for system administrators who want to control and manage disk usage for users or groups on a filesystem.
For more examples and explanations of operations, you can refer to the provided link.