Open In App

id command in Linux with examples

id command in Linux is used to find out user and group names and numeric ID’s (UID or group ID) of the current user or any other user in the server. This command is useful to find out the following information as listed below:

Synopsis:



id [OPTION]… [USER]

Options:

Note:



Without any OPTION it prints every set of identified information i.e. numeric ID’s.

Examples:

Article Tags :