You attempted to use the . command to repeat the previous command; however, you had not entered a previous command.
Only use the . command once you have entered at least one command.