For new users and students looking for ways to learn how to use and manage Linux systems, the easiest place to start might be on Ubuntu Linux OS. Ubuntu is an open-source Linux operating system that runs on desktops, laptops, servers, and other devices. When you’re ready to learn how to use the usermod commands, follow the guide below: About usermod command: The usermod command is used by system administrators to change users’ account settings similar to the passwd command. Like using your mouse and keyboard to change account settings in the GUI. the usermod is the way to do it on the command line. Syntax: The syntax is the rule and format of how the usermod command can be used. the syntax’s options can be reordered. but a straight format must be followed. Below is an example syntax of how to use the usermod command. Options: The command line options are switches or flags that determined how the commands are executed or controlled. they modify the behavior of the command. they are separated by spaces and followed after the command’s options. Below are some options for the usermod command: Examples: Below are some examples of how to run and use the usermod on Ubuntu Linux. If you want to add an account name John to the sudo group, run the commands below. If you wish to change John’s account Full Name or comment field, run the usermod command and specify John’s account name. in this case, it’s called john. If you’re not logged in as a root account, you may have to use the sudo command it it. To change John’s account login name to paul, run the commands below. To unlock John’s account, run the command below To lock John’s account, run the commands below. To change John’s home directory, run the commands below When you run usermod with the –help option, you’ll see the help text below: That’s it! Hope you like it and please come back soon for more Ubuntu Linux commands!