Forrest logo
back to the edquota tool

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

The command sudo edquota --file-system ${filesystem} is used to edit the disk quota for a specified file system.

Here is a breakdown of the command:

  • sudo: The command is prefixed with sudo, which stands for "Super User Do", as it allows the user to execute the command with administrative privileges or as the root user. This is typically required to make changes or perform operations that require elevated permissions.

  • edquota: This is the main command used to edit disk quotas. It allows the user to view or modify user or group quotas for a specific file system.

  • --file-system ${filesystem}: This is an option provided to specify the target file system on which the quota should be modified. ${filesystem} is a placeholder for the specific file system name or identifier. You would replace ${filesystem} with the actual name of the file system, such as /dev/sda1 or /home. This option tells edquota which file system should be associated with the quota changes.

By using this command, you can edit and manage disk quotas for specific file systems, setting limits on disk space usage for individual users or groups.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the edquota tool