Forrest logo
back to the edquota tool

edquota:tldr:fb31a

edquota: Edit the default grace period.
$ sudo edquota -t
try on your machine

The sudo edquota -t command is used to edit the soft and hard disk quota time limits for a user in a Linux system.

Here's the breakdown of the command:

  • sudo: This command is used to execute the subsequent command with administrative privileges. It allows a user to run a command as a superuser or another user, based on the permissions defined in the sudoers file.
  • edquota: It is a command-line utility used for managing user quotas on a Linux system.
  • -t: This flag is used to specify that the time limits for disk quotas are to be edited.

When executed, the sudo edquota -t command will open a text editor (usually vi or nano) displaying a list of users along with their current disk quota settings. You can modify the time limits for soft and hard quotas for specific users in this editor. The soft limit specifies the maximum amount of disk space a user can use before receiving a warning, while the hard limit is the absolute maximum disk space a user can utilize.

Once the modifications are made and saved, the changes will be applied to the disk quota of the respective users.

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