I am very new to Ubuntu and I still don't understand alot of basic concepts so pls bear with me.
I successfully installed XAMPP 1.7.4 in my ubuntu 11.04. The XAMPP is installed in /opt/lampp. I know how to write php file in /opt/lampp/htdocs using the bash terminal command sudo gedit /opt/lampp/htdocs/myphpfile.php but what if I already have an existing php file inside a folder? Of course I don't want to write it again using sudo command. All I want to do is copy that foler that contains the php files inside htdocs like I always do in Windows WAMP. Is there a command in which I could set the /opt folder to writable? Please help me.
