ID(1)

NAME
id - file identification program

SYNOPSIS
id [ -rl ] name ...

DESCRIPTION
Id produces a line containing a checksum, bytecount, and pathname for each name. Every name must be a pathname starting at the root (that is, beginning with a slash ``/''). Specifying -l (as in ls -l) selects a full identification, which adds userid, groupid, and mode to the basic information. Specifying -r (as in ls -r) causes id to recursively enter all directories and identify each file in those directories (and so on).

If name is a symbolic link, then the bytecount and checksum fields apply to the file the link is pointing to, not to the link itself. All other fields refer to the link file itself.

EXAMPLE
id /etc/rc 09210 2706 /etc/rc

In this example, the checksum is 09210, the byte count is 2706, and the filename is /etc/rc. id -l /etc/rc 09210 2706 0/10 ---644 /etc/rc

In this example, the checksum is 09210, the byte count is 2706, the user ID is 0 (zero), the group ID is 10, the permissions are 644 (rw-r--r-- or owner read/write, group read, and universal read), and the filename is /etc/rc. id -r /usr/lib/ms 00000 0 /usr/lib/ms 40826 1996 /usr/lib/ms/README 24732 366 /usr/lib/ms/end.awk 32541 354 /usr/lib/ms/endnote 27167 2283 /usr/lib/ms/s.acc 35582 2907 /usr/lib/ms/s.cov 49370 1505 /usr/lib/ms/s.eqn 45571 2388 /usr/lib/ms/s.ref 12266 1115 /usr/lib/ms/s.tbl 06573 260 /usr/lib/ms/s.ths 11940 1440 /usr/lib/ms/s.toc 20075 532 /usr/lib/ms/swapacc

In this example, the 11 files within the directory /usr/lib/ms have the indicated checksums and byte counts.

SEE ALSO
ls (1)