How do I print a username in Linux?

How do I print a username in Linux? 

Print User Names of Currently Logged in Users Linux
  1. Method # 2: Using the “whoami” Command:
  2. Method # 3: Using the “w” command:
  3. Method # 4: Using the “last” Command:
  4. Method # 5: Using the “users” Command: