Google News
logo
Unix - Interview Questions
What Commands would you use to get User Information?
* Id : you can get the active user id along with login and group detail by executing this command.

* Last : you can find the last login details of a user by running this command.

* Groupadd admin : you can add group admin using this command.

* Usermod –a : This command can add an existing user to a group.
Advertisement