Search exams, classes and guides
Search...
English
Sign in
Sign in
Home
Practice
Discover
Performance
More
CompTIA Linux+ XK0-006
Automation, Orchestration, and Scripting
Card 18 of 113
18 / 113
Which special shell variable holds the exit status of the last executed command?
Front
Which special shell variable holds the exit status of the last executed command?
Back
$? holds the exit status of the most recent foreground command. A value of 0 means success, and any nonzero value (1-255) indicates failure or a specific error condition.
Show the back
Press the card to see the back
Study this deck