oreilly.comSafari Books Online.Conferences.


Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.


quotacheck [options] [filesystems]

System administration command. Audit and correct quota information by building a table of current disk usage and comparing it to the recorded usage in both the kernel and the quota files. quotacheck will update quota information when possible and prompt the user if it requires input. Most systems that support quotas run this command at system startup. To prevent damage to filesystems or loss of quota data, turn off quotas with quotaoff and umount the system. quotacheck will attempt to remount any mounted filesystem as read-only before scanning.



Check all non-NFS filestystems in /etc/mtab.


Back up quota files before writing new data to them.


Skip reading existing quota information; just write new files.


Force checking on filesystems with quotas currently enabled.

-F format

Check quota files for the specified format. (See quota for valid formats.)


Only check group quotas.


Prompt user for input upon finding errors.


Don't try to remount mounted filesystems.


Force check to run in read-write mode if it cannot successfully remount the filesystem in read-only mode.


If multiple entries for a user or group are found in a corrupt quota file, use the first entry found.


Don't check the root filesystem when using the -a option.


Only check user quotas. This is the default.


Print information on the progress of the command.

Linux Resources
  • Linux Online
  • The Linux FAQ
  • Linux Kernel Archives
  • Kernel Traffic

  • Sponsored by: