GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Operating System  >  Shell Scripting

 Print  |  
Question:  how to find how many users have logged in and logged out in last five minutes using shell scripts?

Answer: how many users have logged in and logged out in last five or 10 minutes


August 08, 2009 14:57:53 #4
 pravinshedage2008   Member Since: August 2009    Total Comments: 1 

RE: how to find how many users have logged in and logged out in last five minutes using shell scripts?
 
Use w command give time from when the user is logged in.
w is extended who command.
     

 

Back To Question