Untitled Document
id Command

id command displays your own user id ( UID ) and group id ( GID ) without viewing /etc/passwd and /etc/group.. While working we may need to switch from own user id to some other id where we have some special privileges and to check you current working id , just run id command .

Example 1 -

Run id command and see the result on terminal

Untitled Document