🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Bash Scripting for DevOps: all 10 questions

Quiz: Bash Scripting for DevOps · Question 1 of 10

What exit code means a command succeeded?

What exit code means a command succeeded?

  1. A.0
  2. B.1
  3. C.255
  4. D.Any positive number
Answer & explanation

Correct answer: 0

By convention 0 is success and every non-zero value is some kind of failure.

Can you get the rest right without peeking?

Take the timed Quiz: Bash Scripting for DevOps quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →