How do I find my UID in Linux?

How do I find my UID in Linux?
Answer
You can find UID stored in
the /etc/passwd file
. This is the same file that can be used to list all the users in a Linux system. Use a Linux command to view text file and you’ll see various information about the users present on your system. The third field here represents the user ID or UID.
 

Tìm kiếm

Back
Top