shell scripts

Hi!

I have added a line into /etc/profile which looks like-
date > $HOME/.lastloggedon
This puts a file lastloggedon into everyones directory who has logged in recently.
The trouble I am having is getting the information back out.
I was hoping there was a command using find which brought back everythind which it doesn't find.
Also I tried using -mtime+n so I can see who has logged in within a specific number of days.

Any ideas?

Thanks
karen

Try the "last" command.
"man last" for more info.