Sometimes, you want to update the username in the Linux Operating System from a typo or something. This section guides you through on how to update user's username.
To change username, you can use the usermod command:
$ usermod -l <new> <old>Example, for changing from janxmes to james, it is:
$ usermod -l james janxmesThat's all for changing username on Linux.