(a) 該公用程式的所在系統及路徑.

Linux(Red Hat):{/usr/bin}


(b) 該公用程式所使用的 shared library. (可由 ldd 得到)

libc.so.6 => /lib/libc.so.6 (0x4002c000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


(c) 該公用程式的主要用途說明.

列出真實的使用者代號和群組代號,以及有效的使用者代號和群組代號


(d) 儘可能地說明該公用程式所支援的參數及其意義.
(e) 儘可能地提供配合各種參數的使用範例.

ID(1) FSF ID(1)


NAME#名稱

id - print real and effective UIDs and GIDs#列出真實和有效的使用者代號以及群組代號

SYNOPSIS#概要

id [OPTION]... [USERNAME]

DESCRIPTION#描述

Print information for USERNAME, or the current user.
#列出使用者資訊或者現在的使用者資訊

-a ignore, for compatibility with other versions#忽略,為了和其他版本的相容性

-g, --group

print only the group ID#只列出群組的代號

-G, --groups

print only the supplementary groups#列出補充的群組

-r, --real

print the real ID instead of effective ID, for -ugG#列出真實的使用者代號

-u, --user

print only the user ID#只列出使用者的代號

--help display this help and exit#顯示說明文件

--version

output version information and exit#版本資訊


REPORTING BUGS#回報臭蟲

Report bugs to .

SEE ALSO#額外參考資訊

The full documentation for id is maintained as a Texinfo
manual. If the info and id programs are
installed at your site, the command
properly

info id

should give you access to the complete manual.

COPYRIGHT#版權資訊

Copyright ?1999 Free Software Foundation, Inc.
This is free software; see the source for copying condi? tions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

GNU sh-utils 2.0 July 2000 1