Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
Linux offers several commands that display in output the current user's login name. One of those is logname. In this tutorial, we will quickly understand the basics of this command line tool using some easy to understand examples.