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
Feb 01, 20261 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.
...