Summarizes file system ownership.
quot [ -c ] [ -f ] [ -h ] [ -n ] [ FileSystem ... ]
The quot command summarizes file system ownership by displaying the number of 512-byte blocks currently owned by each user in the specified file system (FileSystem). If no file system is specified, the quot command displays the same information for each of the file systems in the /etc/filesystems file.
|-c||Displays a 3-column report. The first column specifies the file size in 512-byte blocks. The second column specifies the number of files of that size. Finally, the third column specifies the cumulative total of 512-byte blocks in all files of that size or smaller.|
|-f||Displays the total number of blocks, the total number of files, and the user name associated with these totals.|
|-h||Estimates the number of blocks used by the file. This estimation is based on the file size and may return greater than actual block usage when used on files with holes.|
|-n||Produces a list of all files and their owners by running the following pipeline:|
Access Control: This command is owned by the bin user and bin group.
quot -f /usrThe system displays the following information:
/usr: 63056 3217 bin 20832 390 root 1184 42 uucp 56 5 adm 8 1 guest 8 1 sys
quot -c /usrThe system displays the following information:
/usr: 8 103 824 16 2 856 499 0 856
|/etc/passwd||Contains user names.|
|/etc/filesystems||Contains file system names and locations.|
The ls command, du command.