“usermod” command usage in Ubuntu/Debian : a beginner’s guide

The usermod command modifies or alters any attributes of a previously created user account via command line.In some situations, an administrator would need to change the existing attributes of an already created user like the login name, the home folder of the user, the password expiry date.This is where usermodcommand comes in.