![Forrest logo](/images/logo.png)
quotacheck:tldr:0eee1
This command with the use of sudo runs the quotacheck tool with the option --force on a specific ${mountpoint}.
The quotacheck tool is used to check the disk usage and the disk quotas of a file system on Linux systems. It scans the file system and updates the disk quota information based on the actual disk usage of each file or directory.
The --force option is used to force a full scan of the file system, regardless of when it was last checked. By default, quotacheck skips the file systems that have been checked within a certain time period (e.g., every week). With --force, it ignores this check and performs a complete scan.
The ${mountpoint} is the specific directory location of the file system that you want to check the disk usage and quotas for. For example, if you want to check the file system mounted at /home, you would replace ${mountpoint} with /home in the command.