Possible Duplicate:
Whats the simplest way to edit and add files to “/var/www”?
I need to rename it in the terminal because it is in the root directory in Lubuntu.
- I have a folder in
/var/www/
which I need to change the name of from htdocs to xoops but I would not be able to do it by right clicking because I don't have permissions. This is why I want to do it in the terminal so I can do it as root.
/var/www
. An earlier question, Whats the simplest way to edit and add files to “/var/www”?, covers this quite well. I recommend that you take a look there. Also, we should probably close this question as a duplicate of that one, so people who find this are prominently directed there. – Eliah Kagan Jul 15 '12 at 17:50