How do I find my Unix user id?

How do I find my Unix user id?
Answer
How to find your uid(userid) and gid(groupid) in Linux via the command line
  1. Open a new Terminal Window (Command Line) if in GUI mode.
  2. Find your username by typing the command: whoami.
  3. Type in the command id username to find your gid and uid.
 

Tìm kiếm

Back
Top