April 12, 2010

Show info about user

In order to show various information about a user on Linux, use the command "id [USERNAME]". If the parameter USERNAME is not provided, info about the current user will be shown.
Example output:
id uid=10005(razvan) gid=10005(razvan) groups=10005(razvan) context=user_u:system_r:unconfined_t

No comments:

Post a Comment