~sircmpwn/ctools

ref: 07cc27f5b3c391a52f471b7aed53e697a54a5295 ctools/doc/logname.1.scd -rw-r--r-- 570 bytes
07cc27f5Drew DeVault logname: add man page 1 year, 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
logname(1) "ctools"

# NAME

logname - print the name of the login user

# SYNOPSIS

*logname*

# DESCRIPTION

*logname* prints the name of the login user to _stdout_. However, this is
reliant upon the behavior of the *getlogin*(3), which is notoriously
unreliable. You may wish to use *id*(1) instead.

# DISCLAIMER

This command is part of ctools and is compatible with POSIX-1.2017, and may
optionally support XSI extensions. This man page is not intended to be a
complete reference, and where it disagrees with the specification, the
specification takes precedence.