Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Jan 052010

Find the current user UID and GID


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)

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>