For small tasks such as thesethis, instead of creating script, create an alias like this,
$ alias cdproj='cd /dir/web/www/proj' You should add this to your .bashrc file, if you want it set for every interactive shell.
Now you can run this as $ cdproj.