See more
Let’s create a file called create-replica-set.sh and let’s see how is going to be composed the main function: