Jan 052010
Find the current user UID and GID
Answer:
Use the id command
E.g. check the UID and GID of the user - "mysql"
# id mysql
uid=106(mysql) gid=111(mysql) groups=111(mysql)
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Find the current user UID and GID
Answer:
Use the id command
E.g. check the UID and GID of the user - "mysql"
# id mysql
uid=106(mysql) gid=111(mysql) groups=111(mysql)