?? id.1
字號:
.TH id 1.SH Nameid \- print user and group ID and names.SH Syntax.B id[.I \-gnru].SH Description.NXR "id command"The.PN idcommand writes a message on the standard outputgiving the user and group ID and the corresponding namesof the invoking process.If the effective and real IDs do not match, bothare printed..PPIf multiple groups are supported by the underlying system, thesupplementary group affiliations of the invoking process are alsowritten..PPWhen no options are specified, the standard format ofoutput produced by.PN idis.B "uid=%d(%s) gid=%d(%s)\\n", .B <real user id>, <user-name>, .B <real group id>, <group-name>.SH Options.IP \-gOutputs only the group ID. The default format is \fB%d\\n\fP.This may be modified by the .B \-n option. The default group ID is the effective group ID; this may bemodified by the .B \-r option..IP \-nOutputs the name in the format \fB%s\\n\fPinstead of the numeric ID when the .B \-u or .B \-g options are used..IP \-rOutputs the real ID instead of the effective ID when the.B \-uor.B \-goptions are used.There is nooption to produce a list of supplementary group IDs alone..IP \-uOutputs only the user ID. The default output format is.BR \fB%d\\n\fP .This may be modified with the.B \-noption. The default user ID is the effective user ID; this may be modified by the.B \-r option..SH See Alsologname(1), getuid(2)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -