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

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

PDF Print E-mail

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

 

Answer:

  • 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.
+/-
+/- Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
Security Please input the anti-spam code that you can read in the image.
 

Go Daddy $7.49 .com Sale!