WHOAMI

Section: User Commands (1)
Index Return to Main Contents

BSD mandoc
BSD 3  

NAME

whoami - print effective current user id  

SYNOPSIS

whoami  

DESCRIPTION

Whoami prints your effective user id. It works even if you are suNs'd, while ``who am i '' does not since it uses /var/run/utmp  

FILES

/etc/passwd
Name data base

 

SEE ALSO

who(1)  

HISTORY

The whoami command appeared in BSD 3.0


 

Index

NAME
SYNOPSIS
DESCRIPTION
FILES
SEE ALSO
HISTORY

This document was created by man2html, using the manual pages.
Time: 06:27:46 GMT, May 19, 2025