Change display name of a user (ubuntu)
Ubuntu is a Linux distribution
# Sudo Command
|
|
# Explanation
usermod
: This is the main command. It stands for “user modification.” It is used to modify the attributes and settings of a user account on the system.-c
: This is an option or flag that comes after theusermod
command. The-c
option allows you to specify the new comment (or display name) for the user. The comment is typically used to store additional information about the user, such as their full name."New Display Name"
: This is the value you provide after the-c
option. It is the new display name that you want to set for the user. The display name is the name that is shown when the user logs in or is displayed in the system settings.username
: This is the argument or parameter that comes after the display name value. It is the username of the user account you want to modify. Replaceusername
with the actual username of the user you want to change.
# Source
Chat gpt v-3.5