Select Page

How to find the User Id for a specific user in Linux

  • Open a new Terminal Session if not already in the command line.
  • Enter the following command. Replace UNAME with the name of the user.
    id -u UNAME
  • This will output the User Id for the Username specified.

Last Updated On April 07, 2018

Leave a reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.