To get the full name of the current user, you can use the getent command along with awk to extract the relevant field. Here's how you can do it:
getent passwd $(whoami) | awk -F: '{print $5}'
This command retrieves the user information from the passwd database and prints the full name, which is usually the fifth field in the output.
