I just discovered the 'finger' command:

finger $USER

Very nice!

When piped to 'grep' there is useful login information that can be used in scripts.

#NetBSD #RunBSD