This article will show you how to list the history of commands that have been run before in Apache Pig’s grunt.
Use the below command in the Grunt to get the history.
grunt> history
Note: Only the commands that have been executed since Grunt’s shell has been invoked will be shown. The standard HDFS commands and DUMP statements will not be shown. The history will not be displayed after you quit and reopen the shell.
Hope you find it helpful.
Please join our mailing list to receive more interesting information.
One comment