Added 'logname' command.

http://en.wikipedia.org/wiki/Logname