1 of 2

From reading the comments to the question, it seems as if you have misunderstood the question in the assignment. It asks you to

  1. Put the command(s) that you used in some other question into a new file called getUniqueGID.sh.
  2. Try executing that new file.
  3. Make the file executable by all.

The file is not hidden away somewhere on the system; you should create it. Once you have, a slightly modified version of the chmod part of your (too advanced) solution will be enough. No find will be used in the answer, as far as I can tell.