| logname(1) | General Commands Manual | logname(1) |
NAME¶
logname - Print user's login name
SYNOPSIS¶
logname [-h|--help] [-V|--version]
DESCRIPTION¶
Print user's login name
OPTIONS¶
- -h, --help
- Print help
- -V, --version
- Print version
VERSION¶
v(uutils coreutils) 0.7.0
EXAMPLES¶
Display the currently logged in user's name:
logname
The examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail.
| logname (uutils coreutils) 0.7.0 |