Up to $140 off-Lowest  Prices of 2024(Nov.21-Dec.2)

My Computer Tips

Home | About | Categories | All Tips & Tutorials

Find my username using the terminal

ID: 99

Category: Linux Terminal

Added: 5th of June 2018

Views: 3,357

To find out your username enter the following in your Linux terminal

whoami


Another way to get your username is to enter the following command
id -un


If you enter the who command you get your username, terminal number and time logged in.
who