← All tips

Bash: show last command exit code

bashbasics

Helpful when debugging pipelines.

echo $?