when some command is about to be executed,the global enviroment variable $PATH is searced for the command.Usually the $PATH does not include your current directory.That dot "." just tells the shell to search the current directory for the command. In your case,the dot "." tells the shell to search for the file /etc/profile which is not included in the $PATH