Query Users and Groups Flashcards
1
Q
gives details of a user currently logged into a system
- user name
- name of system from which user is connected
- date and time that the user has been connected since
A
who
2
Q
option that shows how long users have been idle
A
who -u
3
Q
shows who is logged in and what they are doing
A
w
4
Q
displays history of user login and logout actions, with time and date.
-retrieves info from /var/log/wtmp file
A
last
5
Q
used to display userID and groupID info
A
id