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.
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)- A87% (27)
- B6% (2)
- C3% (1)
- D3% (1)
Why each option
The 'edquota' command is the standard utility for editing disk quota limits for a specific user or group.
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.
'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.
'quota -e' is not a valid invocation; the 'quota' command has no '-e' flag and cannot be used to edit quota values.
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
Community Discussion
No community discussion yet for this question.