• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

edquota: command not found

by Deepika

The “edquota” command in Linux is used to edit user or group quota information on a specified file system. Quotas are used to limit the amount of file system space a user or group can consume. The “edquota” command opens a text editor, typically vi, which allows the user to edit the quota information for a specified user or group. This command is typically used by system administrators to manage the disk usage on a Linux system.

If you encounter the below error while running the command edquota:

edquota: command not found

you may try installing the below package as per your choice of distribution:

Distribution Command
Debian apt-get install quota
Ubuntu apt-get install quota
Arch Linux pacman -S quota-tools
Kali Linux apt-get install quota
Fedora dnf install quota-1
Raspbian apt-get install quota

edquota Command Examples

1. Edit quota of the current user:

# edquota --user $(whoami)

2. Edit quota of a specific user:

# sudo edquota --user username

3. Edit quota for a group:

# sudo edquota --group group

4. Restrict operations to a given filesystem (by default edquota operates on all filesystems with quotas):

# sudo edquota --file-system filesystem

5. Edit the default grace period:

# sudo edquota -t

6. Duplicate a quota to other users:

# sudo edquota -p reference_user destination_user1 destination_user2

Filed Under: Linux

Some more articles you might also be interested in …

  1. acpi Command Examples in Linux
  2. chronyc Command Examples in Linux
  3. How to use mdadm to create a software mirror on top of multipath devices
  4. CentOS / RHEL : How to add new swap partition
  5. “Couldn’t find device with uuid [UUID]” – error whith pvs command
  6. How to Configure an NFSv4-only Client using nfsconf in CentOS/RHEL 8
  7. How to Create a Custom Log File Rotation by logrotate in Linux
  8. How to Set Resource Limits for a Process with Systemd in CentOS/RHEL 7 and 8
  9. How to configure multicast on an IP address (interface)
  10. faillock Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • fprintd-delete Command Examples in Linux
  • fprintd-delete: command not found
  • foreman: command not found
  • foreman Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright