Which of the following commands will list the quota for the user foobar?
A.
repquota foobar
B.
quota foobar
C.
lsquota foobar
D.
printquota foobar
Explanation:
From the man pages:
quota displays users’ disk usage and limits. By default only the user quotas are printed.
repquota prints a summary of the disk usage and quotas for the specified file systems.
lsquota and printquota commands do not exist.
Answer is A. repquota foobar
i think it’s B, quota foobar
Correct answer is B. > quota foobar (quota user)
when use repquota foobar, give you a Bad number of arguments.
If you use repquota -u display information about users.
From man descriptioon: quota displays users’ disk usage and limits. By default only the user quotas are printed.