Quote:
|
Originally Posted by jyoung
I found the command lsuser and did this to get a list of users and the last time logged in:
lsuser -a time_last_login ALL > users.txt
Which gives me this result:
username time_last_login=1046099951
username time_last_login=1074022275
username time_last_login=899997008
.
.
username time_last_login=1046099951
username time_last_login=1074022275
username time_last_login=899997008
Is it possible to get the last date logged in from the above?
|
when you say '
get the last date' what do you exatcly mean?
the 'date' is already there preceeded by '=' - you should be easily be able to use
sed/awk to get the value.