Forrest logo
tool overview
On this page you find all important commands for the CLI tool edquota. If the command you are looking for is missing please ask our AI.

edquota

edquota is a command line tool used in Unix-like operating systems to set and manage user disk quotas.

It allows system administrators to define limits on the amount of disk space a user or group can use on the file system.

The main purpose of edquota is to prevent users from consuming excessive disk resources and ensure fair distribution of disk space among multiple users.

With edquota, administrators can set quotas for individual users or groups, specifying the maximum number of inodes and/or the maximum amount of disk space allowed.

It also enables admins to assign soft and hard limits, where soft limits allow users to temporarily exceed their quotas, while hard limits enforce strict restrictions.

edquota provides a straightforward text-based interface with commands for creating and modifying quotas.

Administrators can configure quotas for both local and remote file systems, as well as specify grace periods for users to come into compliance with their quotas.

The tool supports various file system types, including ext2/3/4, XFS, and NFS.

edquota stores and manages quota information in dedicated files, such as quota.user and quota.group, which are typically located in the root directory of the file system.

Overall, edquota is an essential utility for managing disk quotas and maintaining a balanced utilization of disk space in Unix-like environments.

List of commands for edquota:

  • edquota:tldr:06d20 edquota: Duplicate a quota to other users.
    $ sudo edquota -p ${reference_user} ${destination_user1} ${destination_user2}
    try on your machine
    explain this command
  • edquota:tldr:2bfdd edquota: Edit quota of the current user.
    $ edquota --user $(whoami)
    try on your machine
    explain this command
  • edquota:tldr:d643c edquota: Edit quota for a group.
    $ sudo edquota --group ${group}
    try on your machine
    explain this command
  • edquota:tldr:d700c edquota: Edit quota of a specific user.
    $ sudo edquota --user ${username}
    try on your machine
    explain this command
  • edquota:tldr:f9329 edquota: Restrict operations to a given filesystem (by default edquota operates on all filesystems with quotas).
    $ sudo edquota --file-system ${filesystem}
    try on your machine
    explain this command
  • edquota:tldr:fb31a edquota: Edit the default grace period.
    $ sudo edquota -t
    try on your machine
    explain this command
tool overview