Error Reading conf file

According to me, I have entered the correct configuration in the mongod.conf file but it shows an error reading conf file.

Hi @Mridul_Jain, can you please make sure that you are in the correct directory?
You can run the command ls to get the files/contents of the directory. Please use the command cd <directory-name> to move to a different directory. Once you are in the correct directory, you would be able to run the command successfully.

In case you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer

Most likely, you ran some cd command before running mongod.

Please share the output of the command history.