What are some good resources to learn shell script for NGS pipeline development?

How much shell script should one know to develop an intermediate level pipeline for NGS data analysis?

Can someone suggest some good resources, tutorials?
I use http://www.ruffus.org.uk/ to develop python pipelines for NGS data and it is a great library.