Confirming Your Current User Account

When working on Linux, you might not always be able to see which user you are logged in as by default, or perhaps you want confirmation before making a change.

Thankfully, find out is very simple and is done using a one word command which will instantly output the username as a result.

LINUX-HOST# whoami

Thankfully, this also works in Windows too, so its helpful to know regardless of which OS you are working on.

A short post, but it helps me remember and hopefully it can benefit someone – I hope its helpful!

You are Viewing The Most Recent Post

Leave a Reply

Your email address will not be published.