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?
In this article, you will learn the difference between the logname and whoami commands, the usage of the logname command, and how to use it in shell scripts.