Linux quotacheck Command
The Linux quotacheck command is used to check disk usage and limits.
When the quotacheck command is executed, it scans the partitions mounted on the system and generates quota.user
and quota.group
files in the root directory of each partition, setting disk space limits for users and groups.
Syntax
quotacheck [-adgRuv][file systems...]
Parameters:
-a Scans partitions with quota settings added in the
/etc/fstab
file.-d Displays detailed information about the command execution process, useful for debugging or understanding the program execution.
-g Calculates the number of directories and files each group ID occupies while scanning disk space.
-R Excludes the partition where the root directory is located.
-u Calculates the number of directories and files each user ID occupies while scanning disk space.
-v Displays the command execution process.