On Sat, 10 Oct 1998, Ken Russell wrote:

> Hello all you wonderful helpful people. 
> 
> I am learning a bit of Linux administration for a class I teach at a
> technical college. I'm real new to Linux and have half a dozen books on it,
> but sometimes its very difficult to find a command or file. Right now I
> would like to be able to see who has logged on in the last few days or
> week. I assume that Linux keeps such a log file, or that I can set it up to
> do this. Could someone please give me some suggestions on how to obtain
> this information?

The log is kept (in binary) in /var/log/wtmp in Slackware.  The command
'last' will read the file.  You will probably want to pipe the output of
last to 'more' or 'less' since , unless you have just cleaned it out, wtmp
contains way too much information for one page.

Good Luck,

Gordon A. Gallup                          Dept. of Physics and Astronomy
University of Nebraska-Lincoln            Lincoln, NE 68588-0111
Voice: (402)472-1230                      FAX: (402)472-2879
http://www.unl.edu/physics/

Reply via email to