2 added 36 characters in body
source | link

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 to make it executable for all users. No find will be used in the answer, as far as I can tell.

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.

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 to make it executable for all users. No find will be used in the answer, as far as I can tell.

1
source | link

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.