please send me how to do it

hi sirs/madams

please send me how to do"shell script that determines the period for which a specified user is working on the system" i am unable to do it

Look at the command last (man last...)

Command,

last
  • nilesh