• 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. CentOS / RHEL : How to identify/match LUN presented from SAN with underlying OS disk
  2. Linux Interview Questions – Basic File and Directory Permissions
  3. lxi: command not found
  4. blurlock Command Examples in Linux
  5. pacman –upgrade Command Examples in Linux
  6. Linux OS Service ‘sshd’
  7. treetime Command Examples in Linux
  8. gs: command not found
  9. cargo clippy: A collection of lints to catch common mistakes and improve your Rust code
  10. ansible-doc – Display information on modules installed in Ansible libraries

You May Also Like

Primary Sidebar

Recent Posts

  • ctags: Generates an index (or tag) file of language objects found in source files for many popular programming languages
  • csvtool: Utility to filter and extract data from CSV formatted sources
  • csvstat: Print descriptive statistics for all columns in a CSV file
  • csvsql: Generate SQL statements for a CSV file or execute those statements directly on a database

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright