Combined pig commands can be written in a file and it will executed once .
Pig -f <Filename>
eg:- pig -f samplefile.pig
Create the file name as samplefile.pig with following commands as mentioned in below image
Pig file with arguments
Pig -f <Filename> -param <argument1> -param <argument2>
pig -f samplefile.pig -param minage=30-param maxage=50