I have an .htaccess file saved in /opt/lampp/htdocs, the problem is, the file exists in the folder but I can't find it nor view it.

Anyone knows how I can view it?

  • In addition to answers you have been given, it's good to know, that files and folder beginning with a dot (.) are hidden, thus you have to enable "Show hidden files" by pressing Ctrl+H, or, as stated in answers, list them using ls -a in terminal. – Michal Polovka Oct 16 '16 at 10:09

It is very simple! I am such a newbie. Here it is

Go to the folder, and press CTRL + H, and there you have it.


You need a way to view the hidden files e.g. with ls:

cd /opt/lampp/htdocs
ls -a

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.