Linux CLI - Users and Groups
Which command will display the current logged-in username in Linux?
whoami prints the current logged-in username.id -g shows group ID, pwd shows current directory, ls -l lists files. None show username.whoami = current username [OK]whoami to quickly see your username [OK]pwd expecting usernamels for user info15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions