YouTip LogoYouTip

Linux Comm Logname

# Linux logname Command [![Image 3: Linux Command Manual](#) Linux Command Manual](#) The Linux logname command is used to display the user name. Executing the logname command will display the name of the current user. ### Syntax logname **Parameters**: * --help Online help. * --version Display version information. ### Example Display the login account information: # logname root [![Image 4: Linux Command Manual](#) Linux Command Manual](#)
← Linux Comm LogoutLinux Comm Login β†’