nerdexam
CompTIA

LX0-103 · Question #124

Which of the following commands will change the quota for a specific user?

The correct answer is A. edquota. The 'edquota' command is the standard utility for editing disk quota limits for a specific user or group.

Devices, Linux Filesystems, Filesystem Hierarchy Standard

Question

Which of the following commands will change the quota for a specific user?

Options

  • Aedquota
  • Brepquota
  • Cquota -e
  • Dquota

How the community answered

(31 responses)
  • A
    87% (27)
  • B
    6% (2)
  • C
    3% (1)
  • D
    3% (1)

Why each option

The 'edquota' command is the standard utility for editing disk quota limits for a specific user or group.

AedquotaCorrect

The 'edquota' (edit quota) command opens a user's quota settings in the system's default text editor, allowing an administrator to modify soft limits, hard limits, and grace periods for both disk space and inode usage on a per-user or per-group basis. It is the only command in the standard quota toolset that provides interactive editing of quota values rather than just reporting them.

Brepquota

'repquota' generates a summary report of disk usage and quota limits for all users on a filesystem but provides no mechanism to modify those limits.

Cquota -e

'quota -e' is not a valid invocation; the 'quota' command has no '-e' flag and cannot be used to edit quota values.

Dquota

The 'quota' command displays current disk usage and quota limits for a user but is strictly read-only and cannot change quota values.

Concept tested: Linux disk quota management with edquota

Source: https://man7.org/linux/man-pages/man8/edquota.8.html

Topics

#disk quota#edquota#user quota management

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice