Multiple choice technology

The success and failure return codes of infacmd command are

  1. 0 and 1

  2. 1 and 0

  3. 0 and -1

  4. -1 and 0

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The infacmd command-line tool uses specific return codes to indicate execution results. A return code of 0 indicates successful completion. A return code of -1 indicates failure or error. This convention follows Unix-style exit codes where 0 means success and non-zero means error. Understanding these codes is essential for scripting and automation with infacmd.