Last Login info!

Taking care of your Linux box.

Last Login info!

Postby refra » Fri Jun 05, 2009 4:44 pm

AOA,

I want to put a last login detail of any user in script.

Can any one help me!
refra
Naik
 
Posts: 69
Joined: Wed Dec 06, 2006 3:51 pm

Postby lambda » Fri Jun 05, 2009 6:11 pm

what is "last login detail"? the last time they logged in? do "last -1 username | head -1"
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
lambda
Major General
 
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Website: http://www.hungry.com/~fn/
Location: Lahore


Return to “%s” Administration

Who is online

Users browsing this forum: No registered users and 1 guest

cron