.bashrc functions to do repetitive tasks

A cool thing to do if you find yourself doing something LOTs of times:

Edit your ".bashrc" (in your home directory)
and create your personalised script as follows:

wch()
{
sudo chmod 774 $1 $2 $3 $4;
sudo chown www-data.www-data $1 $2 $3 $4;
}

Then you can execute the command "wch" with parameters to execute the commands you want. Very cool...