The different ways of executing a Pig script are as follows:
Grunt shell
Script file
Embedded script