echo
Verified for current stable LTS
Echo Command: Print Last Command Exit Status
Use for print last command exit status with Echo. Exact CLI syntax to print last command exit status using Echo.
When to use this: Use for print last command exit status with Echo.
Command Syntax
echo $? echo $? Command Breakdown
echo is the base executable for this command.
FAQ
Purpose: Exact syntax to print last command exit status using Echo.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Echo Command: Append Message To File
echo "<Hello World>" >> <file.txt> Echo Command: Enable Backslash Escapes echo -e "<Column 1\tColumn 2>" Echo Command: Pass Text To Another Program Via Stdin echo "<Hello World>" | <program> Echo Command: Pass Text To Program Via Stdin echo "<Hello World>" | <program> Echo Command: Print Exit Status Last Command echo $?