Linux id Command

In this tutorial we learn how to use id commmand in Linux. id command is id - print real and effective user and group IDs

What is Linux id Command?

In this tutorial we learn how to use id command in Linux. id command is id - print real and effective user and group IDs

id Syntax

       id [OPTION]... [USER]

id Examples

id Command Manual / Help

We can use man and info command to see the manual page of id command.

id command also have --help option to show list of options.

To open man page for id command we can use command below. To exit man or info page you can press q.

man id

To open info page for id command we can use command below.

info id

To open help page from id command we can run command below.

id --help

Linux id Command Source Code

You can find id command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use id in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.