To create a password file and to add users to it, use the command
$ htpasswd -cm /secured/.mypass username1
To add users to the already existing password file, use the command
$ htpasswd -m /secured/.mypass username2
When additional users are added to the password file, ensure that you don’t use the “-c” option.
Alias command comes handy when we are in need to make long and frequently used command string short. To list...