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

No Comments
  • 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.

Image Credits: Photo by Isis França on Unsplash.

Related Articles

No results found.

Leave a Reply

Notify of