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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

option that shows how long users have been idle

A

who -u

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

shows who is logged in and what they are doing

A

w

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

displays history of user login and logout actions, with time and date.
-retrieves info from /var/log/wtmp file

A

last

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

used to display userID and groupID info

A

id

How well did you know this?
1
Not at all
2
3
4
5
Perfectly