• 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 Examples in Linux

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.

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. lsblk: command not found
  2. SSH Authentication Files in Linux
  3. CentOS / RHEL 6 : how to start the services interactively during boot (to disable/abort some services)
  4. “error: Bind to port 2222 on 0.0.0.0 failed: Permission denied” – error while starting sshd service on CentOS/RHEL
  5. How to Enable FTP in CentOS/RHEL 5 and 6
  6. lvresize command examples in Linux
  7. aurvote Command Examples
  8. How to mount an iso file in Linux
  9. Understanding OS load average and run queue/blocked queue in terms of CPU utilization in Linux
  10. Basic “chmod” 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