Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.3k
  • 205
  • 1.8k
  • 2.3k
Tweeted twitter.com/#!/StackUnix/status/541116602641813504
Source Link
Sreyan
  • 179
  • 1
  • 7

Command for finding users who are not logged in

Is there any command that can find the number of users that are not logged into the system ?

I am trying to write a shell script that counts the number of users who are logged in and number of users that are not logged in.