There is a tutorial tacked to the top of this forum.
A script can do just about anything, and they are very useful to linux users (at least those that work on the command line, as you can use them to combine many common tasks that are usually performed together among other things).