fix silly indirect-through-zero bug
[unix-history] / usr / src / usr.bin / id / whoami.1
CommitLineData
2065ae9c
KB
1.\" Copyright (c) 1991 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\" @(#)whoami.1 5.1 (Berkeley) %G%
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