Learn Bash Scripting by Building Five Programs 1330.1 fortune.sh

The command echo $? returns the exit status of the preceding command.
0 here means true.

If you are sure you are entering the correct command and the tests should pass, try resetting the tutorial with the reset button.

Here are some additional steps:

1 Like