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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • 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. CentOS / RHEL 5 : How to use the faillog command to track failed login attempts
  2. e2image: command not found
  3. CentOS / RHEL 7 : How to enable telnet for a group of users
  4. How to Stop SSH Session From Getting Timed Out
  5. hostnamectl Command Examples in Linux
  6. ac – Print statistics on how long users have been connected (Command Examples)
  7. netplan: command not found
  8. pdbedit Command Examples in Linux
  9. aws cognito-idp: Manage Amazon Cognito user pool and its users and groups using the CLI
  10. cargo test: Execute the unit and integration tests of a Rust package

You May Also Like

Primary Sidebar

Recent Posts

  • gml2gv Command Examples
  • glow Command Examples
  • glib-compile-resources Command Examples
  • glances Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright