in reply to Get the currently logged in User name

This is more of a linux question than one for a perl group, but it is an easy one. Try something like

    man who

and see if that gives you what you want.

- doug