p:: CLI
echo $? will return the exit status of last command.
echo $?0man bash...
? Expands to the status of the most recently executed foreground pipeline.
...
Search
Oct 14, 20251 min read
p:: CLI
echo $? will return the exit status of last command.
echo $?0man bash...
? Expands to the status of the most recently executed foreground pipeline.
...