Commit | Line | Data |
---|---|---|
bdc66a5c KM |
1 | .\" Copyright (c) 1980 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
44b98210 | 5 | .\" @(#)whoami.1 6.1 (Berkeley) %G% |
bdc66a5c | 6 | .\" |
44b98210 | 7 | .TH WHOAMI 1 "" |
bdc66a5c KM |
8 | .UC |
9 | .SH NAME | |
10 | whoami \- print effective current user id | |
11 | .SH SYNOPSIS | |
12 | .B whoami | |
13 | .SH DESCRIPTION | |
14 | .I Whoami | |
15 | prints who you are. | |
16 | It works even if you are su'd, while `who am i' does not since | |
17 | it uses /etc/utmp. | |
18 | .SH FILES | |
19 | .DT | |
20 | /etc/passwd Name data base | |
21 | .SH "SEE ALSO" | |
22 | who (1) |