Artificial intelligent assistant

crash shell: any way to check if a command executed Successfully I'm automating a test using crash package. Is there some thing like `$?`, which can be used to check if the previous command executed successfully or not inside a crash shell? For example, when command: crash> bt -a Is executed, how do I know if it was successful or not? The only solution in my mind is greping through the results, but it's not reliable when the environment changes. This is what i get when I try `echo $?`: crash> bt asd bt: invalid task or pid value: asd crash> $? crash: command not found: $? crash> echo $? 0 crash> crash> q root@at0012-ubuntu:~/crashKernel# `$?` always appears to be 0. I already asked this question on superuser a few days back, but no help from there. Any help would be appreciated.

Sorry -- I misunderstood the original question.

The answer is no, there is no way to tell whether a crash utility command has completed successfully. The functions that are called to perform a command are all void functions, e.g., the "bt" command is declared like so:

void cmd_bt(void) { ... }

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy e3d5107109db3b45071883e4d3ad1c56