id

id

This command returns information about users and groups.

 

Here is an example of the user mike using the command id.

 

mike@ub:~$ id

uid=1000(mike) gid=1000(mike) groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),107(lpadmin),108(scanner),109(admin),1000(mike)

 

 

Several Options:

-g returns only group info

-G supplementary group info

-n returns names

-r returns the real user ID and group ID, not the effective IDs

-u returns user ID only

 

 

info    This is a method of gaining information on topics of interest.  Example:  info gimp Options: -f file   this will use a file instead of a standard info file - -help -o file  sends information to a file instead of standard output
- - version
Close the info program with q.