Question: What is the result of this script?

  1. It removes the directory 'foo' and the files contained within it.
  2. It removes all files except those in the current directory.
  3. It removes all files in the current directory.
  4. It removes all files except those in the 'foo' directory.

Answer: The correct answer of the above question is Option C:It removes all files in the current directory.