-.\" $NetBSD: lastcomm.1,v 1.7 1997/10/19 03:47:52 lukem Exp $
+.\" $NetBSD: lastcomm.1,v 1.11 2006/12/22 08:00:20 ad Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
-.\" 3. All advertising materials mentioning features or use of this software
-.\" must display the following acknowledgement:
-.\" This product includes software developed by the University of
-.\" California, Berkeley and its contributors.
-.\" 4. Neither the name of the University nor the names of its contributors
+.\" 3. Neither the name of the University nor the names of its contributors
.\" may be used to endorse or promote products derived from this software
.\" without specific prior written permission.
.\"
.\"
.\" @(#)lastcomm.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd June 6, 1993
+.Dd December 22, 2006
.Dt LASTCOMM 1
-.Os BSD 3
+.Os
.Sh NAME
.Nm lastcomm
.Nd show last commands executed in reverse order
The elapsed time of the process.
.El
.Pp
-The flags are encoded as follows: ``S'' indicates the command was
-executed by the super-user, ``F'' indicates the command ran after
+The flags are encoded as follows:
+.Dq S
+indicates the command was
+executed by the super-user,
+.Dq F
+indicates the command ran after
a fork, but without a following
-.Xr exec ,
-``C'' indicates the command was run in PDP-11 compatibility mode
+.Xr exec 3 ,
+.Dq C
+indicates the command was run in PDP-11 compatibility mode
(VAX only),
-``D'' indicates the command terminated with the generation of a
+.Dq D
+indicates the command terminated with the generation of a
.Pa core
-file, and ``X'' indicates the command was terminated with a signal.
+file, and
+.Dq X
+indicates the command was terminated with a signal.
.Sh FILES
.Bl -tag -width /var/account/acct -compact
.It Pa /var/account/acct