I am trying to run a pig script in UNIX. My script is called companyx_desktop_impressions.pig
The pig executable file lives in usr/bin/pig
So to run it, I am typing:
$ exec usr/bin/pig/companyx_desktop_impressions.pig
...but I am receiving errors repeating what I typed followed by "Not a directory"
What am I doing wrong? Do I need to use PATH to access pig in my home folder first?
EDIT: I am also getting the error "-bash: pig: command not found"