title: How to get the logged in user's real name in Unix?
body: <p>I'm looking to find out the logged in user's real (full name) to avoid having to prompt them for it in an app I'm building. I see the <code>finger</code> command will output a columned list of data that includes this and was wondering if it makes sense to grep through this or is there an easier way? None of the switches for finger that I've found output just the real name. Any thoughts would be much appreciated.</p>