Step 1: Login to your cPanel by accessing the cpanel link as follows: example.com/cpanel where you need to replace example.com with your own domain name.
Step 2: Go to File Manager. If you cannot find the file manager icon, you can also type in the search form in order to easily access it.
Step 3: Click Settings in the top right corner:
Step 4: A popup will appear. Simply make sure that the check the box “Show Hidden Files (dotfiles)“: