.TH LASTCOMM 1 "27 October 1979"
lastcomm \- show last commands executed in reverse order
[ command name ] ... [user name] ...
gives information on previously executed commands.
with no arguments prints information about all the commands recorded
during the current accounting file's lifetime.
If called with arguments, only those accounting entries whose command
name or user name matches one of the arguments are printed.
would produce a listing of all the
executions of commands named a.out, and
would produce a listing of all the commands executed by user root.
For each process entry, the following are printed.
The name of the user who ran the process.
The command name under which the process was called.
The amount of cpu time used by the process (in seconds).
The time the process exited.