TLDR
Enter a command. For example: gobuster, rails generate, cp.

whoami

 
Print the username associated with the current effective user ID. More information: https://www.gnu.org/software/coreutils/whoami.
 
  • Display currently logged username:
     
    whoami
     
  • Display the username after a change in the user ID:
     
    sudo whoami

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.