File: coreutils.info, Node: logname invocation, Next: whoami invocation, Prev: id invocation, Up: User information 20.2 'logname': Print current login name ======================================== 'logname' prints the calling user's name, as found in a system-maintained file (often '/var/run/utmp' or '/etc/utmp'), and exits with a status of 0. If there is no entry for the calling process, 'logname' prints an error message and exits with a status of 1. The only options are '--help' and '--version'. *Note Common options::. An exit status of zero indicates success, and a nonzero value indicates failure.
Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-12-22 12:58 @3.129.42.59 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)