Category: Linux Terminal

Added: 5th of June 2018

Viewed: 3,006 times


Find my username using the terminal

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