Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
chfn is probably the easiest way to change the GECOS fields. I think on most systems normal users are restricted from changing the full name field by default, in which case you will have to do this as root:
sudo chfn -f 'New name' <user>
To see the fields just look at the /etc/passwd file, or use something like getent passwd $USER if you prefer to get the entire entry.