Linux Server and Workstation Configuration How To

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
id PDF Print E-mail
Wednesday, 16 December 2009 16:51
AddThis Social Bookmark Button

Command id

Id command displays the user ID, group ID and user groups.

Syntax

id [options] [username]

Options

-g prints only the group ID.
-n displays the name of the group, rather than group id.
-u prints only the user ID.

Description

id command displays the user ID, group ID, and all groups to specified user. If the username is not specified, id displays information about current user.

 

Add comment


Security code
Refresh

Useful Links

Follow us on ...

  • Digg: hgevs
  • Facebook Page: 180986722511
  • Linked In Group: 2571120
  • Ning: linuxconfignet
  • Twitter: linuxconfignet

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)