A backup script must stop and report failure when its copy command returns a nonzero exit status. What should the script inspect?

Published
  1. Only whether the destination directory exists
  2. Only the color of terminal output
  3. The script's creation timestamp
  4. The command's exit status and handle the failure explicitly

Comments — 0