The ID command is used to display the user UID, group GID, and groups to which the current user belongs to help you with user management.
Beginners Guide for ID Command in Linux
                                        By
                                        Benny Lanco                                    
                                Get the Free Newsletter!
Subscribe to Developer Insider for top news, trends, & analysis

