I am very new to Ubuntu and I still don't understand a lot of basic concepts so please 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 folder 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 writeable? Please help me.