Commit | Line | Data |
---|---|---|
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 | |
17 | The | |
18 | .Nm whoami | |
19 | utility has been obsoleted by the | |
20 | .Xr id 1 | |
21 | utility, and is equivalent to | |
22 | .Dq Nm id Fl un . | |
23 | The command | |
24 | .Dq Nm id Fl p | |
25 | is suggested for normal interactive use. | |
26 | .Pp | |
27 | The | |
28 | .Nm whoami | |
29 | utility displays your effective user ID as a name. | |
30 | .Pp | |
31 | The | |
32 | .Nm whoami | |
33 | utility exits 0 on success, and >0 if an error occurs. | |
34 | .Sh SEE ALSO | |
35 | .Xr id 1 |