Question for Linux and or Ubuntu users

Anyways. I installed LAMP yesterday with the idea of working with Wordpress on my computer for an upcoming site I want to build.
I tried installing WP through a terminal, but it only installed the WP folder with 2 (useless) files in it.
Because the www folder is in a system folder I can't copy WP to it without changing the permissions on the folder which has to be done from the terminal. I checked the Ubuntu forum and the Sudo page on changing permissions, but they did nothing but confuse me (no surprise there).
Could someone give me the sudo command to change the permissions to R-W for that folder?
Thanks.
.
Life: Nature's way of keeping meat fresh
Getting old ain't for sissy's
As you are I was, as I am you will be
You can't fix stupid, but you can always out smart it.
Life: Nature's way of keeping meat fresh
Getting old ain't for sissy's
As you are I was, as I am you will be
You can't fix stupid, but you can always out smart it.
.
Life: Nature's way of keeping meat fresh
Getting old ain't for sissy's
As you are I was, as I am you will be
You can't fix stupid, but you can always out smart it.
Gareth M Thomas
Serial Entrepreneur
Auckland, New Zealand