English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Linux logname command is used to display the user name.
Execute the logname command, it will display the current user's name.
logname [--help][--version]
Parameter:
Display login account information:
# logname root