id – print real and effective UIDs and GIDs
Summery
id command is one of the basic unix commands, and it servers a very simple purpose of confirming the identity of a specified Unix user.
Simplest way to use the id command
All you do is just type id in your command line prompt, and it then gets back to you with confirmations of your own user id, group id, and a list of other groups you’re a member of:
ubuntu$ id
uid=1000(greys) gid=113(admin) groups=33(www-data),113(admin)
