Writing Hbase and pig scripts in the bash script file

Hi,

I have a script file where i'm validatig the input file and storing the validated records on HDFS.
I wanted to load data from HDFS to HBASE using pig script. So for that i have created a HBASE table and written pig script to load data from HDFS to HBASE which is working fine. Now i wanted those scripts to be wriitn in the .sh file. so that it has to create hbase table and then should call pig shell and do the loading part. How can i write hbase and pig script in .sh file ?
Below is my hbase shell command :

CREATE 'gooddata','good'

My PIG script is :

G = LOAD '/user/user/dataparse/goodrec_051420142023' USING PigStorage(',') as (c1:chararray, c2:chararray,c3:chararray,c4:chararray,c5:chararray);
STORE G INTO 'hbase://gooddata' USING org.apache.pig.backend.hadoop.hbase.HBaseStorage('good:name good:state good:phone_no good:gender');

How can i write these scripts to the .sh file ?

Thanks,
Shree