The three methods listed below enable users to execute a Pig script:
Grunt shell
Embedded script
Script file