xref: /original-bsd/usr.bin/id/whoami.1 (revision 4b565e61)
1.\" Copyright (c) 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"	@(#)whoami.1	8.1 (Berkeley) 06/06/93
7.\"
8.Dd ""
9.Dt WHOAMI 1
10.UC
11.Sh NAME
12.Nm whoami
13.Nd display effective user id
14.Sh SYNOPSIS
15.Nm whoami
16.Sh DESCRIPTION
17The
18.Nm whoami
19utility has been obsoleted by the
20.Xr id 1
21utility, and is equivalent to
22.Dq Nm id Fl un .
23The command
24.Dq Nm id Fl p
25is suggested for normal interactive use.
26.Pp
27The
28.Nm whoami
29utility displays your effective user ID as a name.
30.Pp
31The
32.Nm whoami
33utility exits 0 on success, and >0 if an error occurs.
34.Sh SEE ALSO
35.Xr id 1
36